Skip to content

OddBrew

  • Home
  • Blog

What ports are being listened on?

Posted byFalkor Sr January 14, 2021January 18, 2021

Here are some examples of how to find out on a linux based system.

sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn | grep LISTEN
sudo lsof -i:22 ## see a specific port such as 22 ##
sudo nmap -sTU -O IP-address-Here

Reference: https://www.cyberciti.biz/faq/unix-linux-check-if-port-is-in-use-command/

Posted byFalkor SrJanuary 14, 2021January 18, 2021Posted inUncategorized

Post navigation

Previous Post Previous post:
Using Postfix
Next Post Next post:
Let’s Encrypt
OddBrew, Proudly powered by WordPress.