Manually closing a port from commandline

Posted by codingfreak on Super User See other posts from Super User or by codingfreak
Published on 2010-04-06T03:39:57Z Indexed on 2013/11/01 4:00 UTC
Read the original article Hit count: 134

Filed under:
|
|

I want to close an open port which is in listening mode between my client and server application.

Is there any manual command line option in Linux to close a port ??

NOTE: I came to know that "only the application which owns the connected socket should close it, which will happen when the application terminates."

I dont understand why it is only possible by the application which opens it ... But still eager to know if there is any another way to do it ??

© Super User or respective owner

Related posts about linux

Related posts about port