nginx/check-ports

Check Nginx Listening Ports

Show which ports Nginx is listening on

network
debug

Command

sudo netstat -tulpn | grep nginx

Explanation

Lists all ports currently being used by Nginx.

Examples

Show listening ports and associated processes

sudo netstat -tulpn | grep nginx