see connections on a specific port using netstat in terminal


To see connections on a specific port using netstat in Linux:

netstat -anp | grep :<port_number>

 

 

To see connections on a specific port using netstat in Windows:

netstat -np TCP | find "<port_number>"


Article ID: 128
Created On: Sat, May 31, 2025 at 2:49 PM
Last Updated On: Sat, May 31, 2025 at 2:53 PM
Authored by: Saeed Nobakht [[email protected]]

Online URL: https://www.navel.ir/article/see-connections-on-a-specific-port-using-netstat-in-terminal-128.html