What is Netstat? — is a common command line TCP/IP networking utility available in most versions of Windows, Linux, UNIX and other operating systems.
Netstat provides information and statistics about protocols in use and current TCP/IP network connections.
netstat command to find open ports.
# netstat --listen
To display open ports and established TCP connections, enter:
$ netstat -vatn
To display only open UDP ports try the following command:
$ netstat -vaun
If you want to see FQDN (full dns hostname), try removing the -n flag:
$ netstat -vat
There are number of tools available today, however, these commands are what I usually use in daily basis.
I hope this will help you out in some ways.
What Ports Are Listening / Open On My Linux
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
This Post Has 2 Comments
Hello would you mind letting me know which web host you’re using? I’ve loaded your blog in 3 different internet browsers and I must say this blog loads a lot faster then most.
Hello Holly, sorry for the late response.
I found your commit routed in SPAM. Anyhow, the site is hosted in a VPS machine, running ApisCP, in UpCloud service provider.
If you wish to try UpCloud, you may use the referral link instead;
Let me know how it goes.