How to check for used and available ports with netstat
Introduction
A quick note about checking ports with Netstat. This worked for me within Ubuntu.
How To
-
Make sure
Net Tools
is installedWhen Netstat does not work, run the following command:
-
Get a detailed list of all TCP and UDP connections, listening ports, and the processes using them, along with their numerical addresses and port numbers
Run the following command:
Now you can check in the list whether a port is in use or not.
No comments found for this note.
Join the discussion for this note on Github. Comments appear on this page instantly.