How do you check if a port is blocked on Linux?

Giao Linh

New member
How do you check if a port is blocked on Linux?
Answer
How to check the listening ports and applications on Linux:
  • Open a terminal application i.e. shell prompt.
  • Run any one of the following command: sudo lsof -i -P -n | grep LISTEN. sudo netstat -tulpn | grep LISTEN. sudo nmap -sTU -O IP-address-Here.
 

Tìm kiếm

Back
Top