LiNUX: Display open ports and process that owns them
Posted byJun 5
How do you display your server’s open ports and the process that owns them? You can use the commands below to accomplish this (make sure you run them as root):
#sudo lsof -i
#sudo netstat -lptu
Below are sample output of the commands above:


Popularity: 4% [?]
| 2.5 |




































Leave a Reply