Manually closing a port from commandline

Posted by codingfreak on Stack Overflow See other posts from Stack Overflow or by codingfreak
Published on 2010-04-06T03:39:57Z Indexed on 2010/04/06 3:43 UTC
Read the original article Hit count: 281

Filed under:
|
|

Hi

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 ??

© Stack Overflow or respective owner

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 2010/04/06 5:53 UTC
Read the original article Hit count: 281

Filed under:
|
|

Hi

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 sockets