Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When you have a Windows machine (server or home edition) which is running 2 servers, and they are both listening on port 4000, however none have had a request to connect?

What happens when a client attempts to connect?

Or is 2 things listening on the same port on the same machine not even a possible scenario?

share|improve this question
up vote 4 down vote accepted

It's not possible, at least in normal circumstances. Not sure if there might be dark magic tricks to make it possible somehow, but I don't see why anyone would want to do this.

share|improve this answer
I don't want to do it, I'm just verifying of the possibility of it ever occuring. – Tony The Lion Sep 12 '12 at 13:28
It's not possible; even with black magic. It's possible the two programs talk to each other and negotiate something, but this is highly unlikely. The first one to start will almost certainly grab the port and no let go. – Chris S Sep 12 '12 at 13:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.