How can I check if a port is listening on a Linux server?
bucks Answered question February 18, 2022
You can check if a process listens on a TCP or UDP port with netstat -tuplen
.
To check whether some ports are accessible from the outside (this is probably what you want) you can use a port scanner like Nmap from another system. Running Nmap on the same host you want to check is quite useless for your purpose.
bucks Answered question February 18, 2022