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.

Theoretically, could I block a service running on port x by starting some other service on x with it? Would it return two responses or one big mixed response?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

No, you can't. You can only bind one service/process to a given port at the same time.

share|improve this answer
    
So will the OS stop you? –  tehwalris Sep 25 '12 at 20:08
    
Yes, it will tell you something like "Port x is already in use". –  SvW Sep 25 '12 at 20:38
    
Ok, thanks a lot for your answers :) –  tehwalris Sep 25 '12 at 21:04
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.