Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - IP Address/Port Conflict
  FAQ FAQ  Forum Search   Register Register  Login Login

IP Address/Port Conflict

 Post Reply Post Reply
Author
Greg View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Quote  Post ReplyReply Direct Link To This Post Topic: IP Address/Port Conflict
    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.

Back to Top
widget View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote widget Quote  Post ReplyReply Direct Link To This Post 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.

 

Back to Top
Greg View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
kspare View Drop Down
Senior Member
Senior Member


Joined: 26 January 2005
Location: Canada
Status: Offline
Points: 334
Post Options Post Options   Thanks (0) Thanks(0)   Quote kspare Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Greg View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.270 seconds.