How do i find Ports which are in use on my Linux server?

How do i find Ports which are in use on my Linux server? [EASY GUIDE]☑️

Today in this tutorial you will learn how to find all open and used ports on a Linux server via SSH command. In this tutorial, you will learn How to check open ports in Linux using SSH.

Watch the short video tutorial on how to find all open and used ports in a Linux server.

If you don’t want to watch the video tutorial, skip and proceed with the text version mentioned below.

To list all open ports or currently running ports in Linux, we will use netstat, which is a powerful tool for monitoring network connections and statistics.

Just copy the command given below and execute it in the SSH terminal

netstat -ntl|awk '{print$4}'|grep -v^127.0.0.1:|cut -d: -f2|grep^[0-9]|sort -n|uniq|awk '$1<1024'
How do i find Ports which are in use on my Linux server
How do i find Ports which are in use on my Linux server

 

Right after executing the command, it will list out all the ports which are in use in your Linux server.

How do i find Ports which are in use on my Linux server
How do I find Ports which are in use on my Linux server

That’s all, You are done!!!

For more information, kindly follow us on social media like Twitter and Facebook, and for video tutorials, subscribe to our YouTube channel – https://youtube.com/redserverhost

Facebook Page- https://facebook.com/redserverhost

Twitter Page- https://twitter.com/redserverhost

If you have any queries, feel free to let us know via the comments section below.

Thanks for Reading!!!

Tags: cheap linux hostingbuy linux hostingcheap reseller hostingbuy reseller hostingbest reseller hostingcheap web hostingcheapest web hostingcheapest reseller hosting,  cheap reseller hostcheap linux hostcheapest linux hostingbest linux hostingbest web hosting

Scroll to Top