in reply to Starting a server on a machine whose IP is specified

You posted far too much code to wade through, especially as the error occurs within the first 10 lines of your code. Please try to reduce your failing program to a very short program that still exhibits the same error before posting here.

My guess is that there already is another server program using that same port on the machine, and so your new program can't bind to that socket.

  • Comment on Re: Starting a server on a machine whose IP is specified