IP/Port Conflicts

IP/Port Conflicts SearchSearch
Author Message
Matthew Rahman
Unregistered guest
Posted on Tuesday, November 18, 2003 - 12:59 pm:   

Hi Bryce

We've installed v5.0 onto an existing WAP server (IIS 5.0) but seem to be having a problem with IP address conflicts when setting up the MMSC service. According to your documentation it would appear that we can install NowSMS on a server that has IIS installed on it as well, so long as each application is assigned to different IP addresses (all standard stuff).

In our scenario, the server has 3 IP addresses and IIS is bound to x.x.x.141, for both the HTTP and SMTP services (I have checked and double checked that this has been set up correctly). NowSMS is set to use x.x.x.143 in the MMSC properties, however when we attempt to start the service, the event log reports "Unable to allocate port [80/25]..."

If I stop the IIS services, then the NowSMS service starts OK. If I change the port numbers on the NowSMS service it also starts correctly.

To confirm this behaviour, I also tried it on one of development servers and it acts exactly the same, so I'm pretty convinced that the NowSMS services are not just binding to the HTTP/SMTP ports of the single IP address specified, but possibly to all of the addresses, regardless.

Am I missing something here?

Cheers

Matthew Rahman
Cube:80 Limited
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1188
Registered: 10-2002
Posted on Thursday, November 20, 2003 - 02:17 pm:   

Matthew,

IIS is a bit greedy. Even though you tell it to bind to only a single IP address, it grabs them all ... supposedly for performance reasons.

We've got a document here with links to documents that explain how to reconfigure IIS to avoid this problem:

http://www.nowsms.com/support/bulletins/tb-nowsms-004.htm

Here's another tip for figuring out what ports/addresses are being grabbed (check before and after starting a service to determine what ports/addresses are grabbed):

NETSTAT -a -n

If an application is grabbing a port on all addresses, then you will either see multiple entries for the port (one for each IP address), or you will see an IP address of 0.0.0.0 specified with the port.

-bn
Matthew Rahman
New member
Username: Mrahman

Post Number: 2
Registered: 11-2003
Posted on Thursday, November 27, 2003 - 08:12 pm:   

Hi Bryce

Thanks very much for this - you learn something everyday, eh? Right well I'm off to do some server configuring.

Cheers

Matt