Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.