How to check whether port is listening or not?

How to check whether port is listening, check if port is listening linux, linux check port open, Check listening ports, check port status linux, check port open

Are you looking for the solution "How to check whether port is listening or not?" As a Linux admin, you will come to a situation to find which ports are listening or blocked in a server.

Assume that you are looking to check whether the port 25 is listening or not.

You can use the command "netstat" to see the port 25 is listening to the IP address or not.
#netstat -lnt | grep 25
And also use the command "iptables" to ensure the port is not filtered.
#iptables -nL | grep 25
If you see anything related to port 25, then the port is listening. If not its been blocked by firewall or the service belongs to port 25 (SMTP) is not running.

Leave your inputs if anything missed and we appreciate your comments. how to check whether port is listening or not, check whether port is listening, check if port listening in linux, check if port is listening linux, linux check port open, Check listening ports, check port status linux, how to check port is open in linux, command to check port status in linux, linux check if port is in use, check if port is open ubuntu
August 28, 2016

Post a Comment

[disqus][facebook][blogger]

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget