Command to check listening ports on server

kumkumsharma

Administrator
Staff member
You can use netstat command for command line network utility which helps to display network connections.

To check listening ports you can use below commands:

Code:
netstat --listen
lsof –i
 
Top