Find out which port the service occupies

We will find out which ports and what services are used on the server.

The command for the console will show which ports are busy:

sudo lsof -iTCP -sTCP: LISTEN -n -P

Leave a Reply