How to check for listening Ports on the local machine?

Windows 10:
Go to Command Prompt and run:

netstat -anb

CentOS 7:
Open a terminal ( haha ) and run:

netstat -antup

Leave a Reply

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