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 don't understand why it is only possible by the application which opens it ... But I'