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

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *