How do I determine if a port is in use under Linux or Unix-like system? How can I verify which ports are listening on Linux server? It is important you verify which ports are listing on the server’s network interfaces. You need to pay attention to open ports to detect an intrusion. Apart from an intrusion, for troubleshooting purposes, it may be necessary to check if a port is already in use by a different application on your servers.