[Xitami] Can't connect to port 80

Ewen McNeill xitami@lists.xitami.org
Wed, 30 May 2001 20:41:13 +1200


In message <3B142293.17543.335605@localhost>, "Dennis G. Wicks" writes:
>I am running Xitami on NT 4.0 SP 6. Once in a great while Xitami 
>crashes and when I tell it to restart I get a message back that says it 
>can't access port 80 because some other server is using it.(?)

With some TCP/IP stacks (I don't know if it applies to NT 4), if a
server is stopped "suddenly", then it can't be restarted for a few
minutes after it has been stopped (to allow all the old connections to
die off).

One way to check for this is to run:

netstat -na | more

and look for entries with port 80 (".80" or ":80" at the end).  If there
are entries like that and it is telling you that you cannot restart
Xitami, then try waiting a few minutes until they go away, and see if
you can restart Xitami then.

If that works (ie, if it's the cause of the problem) we'll see if NT has
any equivilent of the Unix "this is a server, let it restart and use the
same port again immediately" option.

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com