Binding service port to ip address

  • Thread starter Thread starter Peter Gloor
  • Start date Start date
P

Peter Gloor

How can I bind the http and smtp service to a specific ip address?

The problem:
I have a Windows 2003 Server (SBS Standdard Edition) with one NIC.
On this server I need to install another application that needs port 25 and
80. The application allows me to bind it to a specific IP address.

The servers IP address is 192.168.1.2, so I added 192.168.1.3 to the NIC and
assigned this second address to my application. However, this doesn't solve
my problem. After starting the application I get the error "Ports 25 and 80
already in use by another application".

Entering http://192.168.1.2 or http://192.168.1.3 in the browser both brings
up the servers Welcome screen.

Question:
How can I bind the servers port 80 and 25 to 192.168.1.2 only (so it does
not respond to 192.168.1.3)?

Peter Gloor
 
Just found it for http and smtp.
But where is the same for LDAP? Didn't mention before, but I need this too.

Peter
 
Back
Top