Mark Volkmann
1/20/2006 6:09:00 PM
On 1/20/06, Caleb Tennis <caleb@aei-tech.com> wrote:
> On Friday 20 January 2006 10:59, Mark Volkmann wrote:
> > I have the following basic code. When I run this it says "TCPServer
> > Error: Address already in use - bind(2)". I can hit Ctrl-C to kill it,
> > change the port to anything and rerun it and I still get that error
> > message. I must be missing something really basic.
>
> It works here on Linux.
Thanks for checking it!
> What's your platform
I've been able to duplicate this under both Windows XP and Fedora Core 4 Linux.
> and are you sure you don't have
> something else already running on port 2000 ?
I tried again a while ago and it's now working under Windows. Makes me
think that for some reasons when I killed the server it didn't
immediately free up the port. However, under Linux it's still saying
the port is in use.
Is there an easy way I can ask Linux for a list of all the ports in use?
--
R. Mark Volkmann
Partner, Object Computing, Inc.