Byteplant Forum

Home » CleanMail Support » CleanMail Server Talk » SBS 2003 & 2 IP addresses
SBS 2003 & 2 IP addresses [message #1637] Tue, 30 January 2007 07:31
ron.gooding
Messages: 12
Registered: January 2007
Junior Member
I am attempting to setup NST on a SBS 2003 server. I would like to use the 2 IP address configuration. However, when I assign a second IP address to the server and then attempt to configure NST with this address I receive a "The incoming IP address and port is already in use by another application" error and I can't continue with the wizard.

There is a message in the forum about Exchange 2000 grabbing all IP addresses to listen on but nothing is said about Exchange 2003.

I would prefer to configure NST with 2 IP addresses instead of using non-standard ports numbers because that is recommended. I also think it is the "neatest" way to accomplish the filtering task.

Does SBS 2003 have the same or similar problem of listening on all IP addresses? I can't seem to find this information on the Exchange 2003 virtual server configuration.

Any assistance greatly appreaciated.

Ron Gooding

Re: SBS 2003 & 2 IP addresses [message #1638 is a reply to message #1637] Tue, 30 January 2007 07:56 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
> I am attempting to setup NST on a SBS 2003 server. I would
> like to use the 2 IP address configuration. However, when I
> assign a second IP address to the server and then attempt to
> configure NST with this address I receive a "The incoming IP
> address and port is already in use by another application"
> error and I can't continue with the wizard.
>
> There is a message in the forum about Exchange 2000 grabbing
> all IP addresses to listen on but nothing is said about
> Exchange 2003.
>
> I would prefer to configure NST with 2 IP addresses instead of
> using non-standard ports numbers because that is recommended.
> I also think it is the "neatest" way to accomplish the
> filtering task.
>
> Does SBS 2003 have the same or similar problem of listening on
> all IP addresses? I can't seem to find this information on the
> Exchange 2003 virtual server configuration.

To solve this issue you have to disable socket pooling for the protocols that you
want to filter with NoSpamToday!. For SMTP and POP3 you can apply the following procedure:

1. Open a command prompt
2. Change the directory to Inetpub\scripts (or Inetpub\adminscripts)
3. Enter one of the following depending on the service that you want to disable
socket pooling for, e.g. for SMTP

net stop smtpsvc
cscript adsutil.vbs set smtpsvc/disablesocketpooling true
net start smtpsvc



Customer Support
Byteplant GmbH
Re: SBS 2003 & 2 IP addresses [message #1639 is a reply to message #1638] Tue, 30 January 2007 18:13 Go to previous message
ron.gooding
Messages: 12
Registered: January 2007
Junior Member
Thank you. I was able to resolve the problem with this info.

I would like to suggest that this information be included in the manual. Looks like it would be needed quite often given the number of Exchange users - for better or worse.

Ron Gooding
Re: SBS 2003 & 2 IP addresses [message #1640 is a reply to message #1637] Tue, 20 February 2007 20:53 Go to previous message
ron.gooding
Messages: 12
Registered: January 2007
Junior Member
Same song second verse.

I have a different SBS 2003 server that needs NST. Same problem occurs trying to use multiple IP addresses in the NST setup.

I have gone through the same steps listed above that worked previously.

net stop smtpsvc
cscript adsutil.vbs set smtpsvc/disablesocketpooling true
net start smtpsvc

SMTP stops. Disablesocketpooling says -> true. Restart SMTP. Attempt to configure NST -> same error message ->IP address already in use by another application.

Does this require a reboot or some other service to restart before taking affect?

Please advise. Thanks.

Ron Gooding
Re: SBS 2003 & 2 IP addresses [message #1641 is a reply to message #1640] Wed, 21 February 2007 16:54 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
> Same song second verse.
>
> I have a different SBS 2003 server that needs NST. Same
> problem occurs trying to use multiple IP addresses in the NST
> setup.
>
> I have gone through the same steps listed above that worked
> previously.
>
> net stop smtpsvc
> cscript adsutil.vbs set smtpsvc/disablesocketpooling true
> net start smtpsvc
>
> SMTP stops. Disablesocketpooling says -> true. Restart SMTP.
> Attempt to configure NST -> same error message ->IP address
> already in use by another application.
>
> Does this require a reboot or some other service to restart
> before taking affect?

No, a reboot is not required.
Did you restart NST?
What happens if you connect to port 25 on this machine (with telnet)?



Customer Support
Byteplant GmbH
Re: SBS 2003 & 2 IP addresses [message #1642 is a reply to message #1641] Wed, 21 February 2007 18:09 Go to previous message
ron.gooding
Messages: 12
Registered: January 2007
Junior Member
support wrote:

> Did you restart NST?
> What happens if you connect to port 25 on this machine (with
> telnet)?
>

NST was never started as I could not get it configured the way I wanted.

- removed NST
- ran net stop
- disabled socket pooling (copied and pasted command to avoid typos) -> command result showed disabledsocketpooling -> true
- ran net start
- reinstalled NST
- attempted to reconfigure with 2 IPs
- same error about IP in use by another app

- telnet to both addresses produces the same 220 command from Exchange
- obviously socket pooling is NOT disabled

Next suggestion?

Thanks.

Ron Gooding
Re: SBS 2003 & 2 IP addresses [message #1643 is a reply to message #1642] Wed, 21 February 2007 18:45 Go to previous message
support
Messages: 918
Registered: April 2004
Senior Member
> > Did you restart NST?
> > What happens if you connect to port 25 on this machine (with
> > telnet)?
> >
>
> NST was never started as I could not get it configured the way
> I wanted.
>
> - removed NST
> - ran net stop
> - disabled socket pooling (copied and pasted command to avoid
> typos) -> command result showed disabledsocketpooling -> true
> - ran net start
> - reinstalled NST
> - attempted to reconfigure with 2 IPs
> - same error about IP in use by another app
>
> - telnet to both addresses produces the same 220 command from
> Exchange
> - obviously socket pooling is NOT disabled
>
> Next suggestion?

Are you sure that you configured the Exchange server to listen on another IP
than NST is listening on?



Customer Support
Byteplant GmbH
Re: SBS 2003 & 2 IP addresses [message #1644 is a reply to message #1643] Thu, 22 February 2007 15:26 Go to previous message
ron.gooding
Messages: 12
Registered: January 2007
Junior Member
OOPS! - you have to perform step 1 BEFORE step 2 is effective.

I went back to verify the Exchange settings and found that I had forgotten to change the IP address on the virtual SMTP server on this server. It was still set on ALL Ports. Changing it to the specific address that I *thought* I had already had resolved the problem.

Thanks for your assistance.

Ron Gooding
Re: SBS 2003 & 2 IP addresses [message #1645 is a reply to message #1638] Thu, 27 September 2007 00:43 Go to previous message
oli
Messages: 2
Registered: September 2007
Junior Member
Thanks Ron and Support; can you spell out your IPs for both NICs and sockets.
I followed the same procedure but still encounter the "incoming IP address and port is already in use by another application" error.

I have tried to disable socketpooling using both the above procedure, editing adsutil.vbs, and using httpcfg.exe per MS 813318 (Setting metabase property DisableSocketPooling has no effect) but not yet 892047 (FIX: IIS 6.0 incorrectly binds to ports when IP addresses are added to the IP inclusion list). This got my attention because we use Remote Access (port 443?).

Thanks Olivier
SBS SP1 , 2 NICs, no ISA

Previous Topic: finding a rule
Next Topic: Complete SA log
Goto Forum:
  


Current Time: Mon Sep 26 21:02:32 CEST 2016