LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to Check the Open Ports in a remote Linux Server (https://www.linuxquestions.org/questions/linux-server-73/how-to-check-the-open-ports-in-a-remote-linux-server-4175447973/)

kumarancs 01-31-2013 06:17 AM

How to Check the Open Ports in a remote Linux Server
 
Hi All,

I need to check whether a given list of ports are open in a remote linux server. Currently I am using telnet command from windows command prompt. Since I need to check for quite a lot of ports in various servers, I would like to know is there any way that we can do it quickly, something like a shell script or batch program.

Advance thanks!!

Regards,
S. Kumaran

acid_kewpie 01-31-2013 06:21 AM

nmap is a great tool for scanning network ports. Note that "open" can mean a fair few different things though. a port isn't open until somethign is actually listening on that port, AND iptables allows the external connection through to it.

linosaurusroot 01-31-2013 06:22 AM

http://nmap.org/book/install.html


All times are GMT -5. The time now is 08:57 PM.