I want to open or close a port in linux which is in listening mode between my client and server application. Is there any manual command line option in Linux to close or open a port? btw, how to check a port is being opened/closed or not? many thanks!