How do I check if a TCP port is open Linux?

How do I check if a TCP port is open Linux?
Answer
Open a Linux terminal application.
Use ss command to display all open TCP and UDP ports in Linux. Another option is to use the netstat command to list all ports in Linux. Apart from ss / netstat one can use the lsof command to list open files and ports on Linux based system.
 

Tìm kiếm

Back
Top