Print Page | Close Window

IP Address/Port Conflict

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=1772
Printed Date: 23 February 2025 at 1:38am


Topic: IP Address/Port Conflict
Posted By: Guests
Subject: IP Address/Port Conflict
Date Posted: 21 August 2003 at 5:08pm

I just started running SpamFilter on a Win2K server with two IP addresses bound to it.  The first address is used by IIS SMTP and I set the second for use by SpamFilter, however when I start SpamFilter it returns a "Could not bind socket.  Address and port are already in use.".  I've verified the correct addresses are set in each application.  Does just conflict with IIS SMTP no matter what or could there be another cause?  Thanks.




Replies:
Posted By: Guests
Date Posted: 21 August 2003 at 6:39pm

Did you change the listening port on Exchange? It's on the Properties page for (probably) your default SMTP virtual server -> Advanced.

You can see if anything's listening on port 25 by running (with SFISP stopped) netstat -an | find ":25 " (note trailing space.

Hope this helps.

 



Posted By: Guests
Date Posted: 21 August 2003 at 8:08pm

I am not running Exchange, just IIS.  However, I have set the IP and port in IIS.  The only item listening on port 25 is 0.0.0.0 which does appear to be IIS (it goes away when I stop it) even though the IP address is set.  So it appears that both IIS and SpamFilter attempt to bind to this IP even though both have been set to separate specific IP's.  Anyone know of a way around this?  Thanks.



Posted By: kspare
Date Posted: 21 August 2003 at 8:58pm

make sure IIS's smtp server is set to listen to the one specific IP address. By default it will listen on all ip's.

So set IIS to listen on 192.168.0.1 and Spamfilter to 192.168.0.2

Those ips are just examples but you get my drift. Because IIS listens on all ips it will bind to both, so spamfilter will not have anything to bind to.



Posted By: Guests
Date Posted: 22 August 2003 at 10:59am
Yes, I've done that.  That's the problem.  It's still coming up with the error when IIS and SpamFilter are set to two different IP's.



Print Page | Close Window