LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-31-2013, 06:17 AM   #1
kumarancs
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Question 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
 
Old 01-31-2013, 06:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 01-31-2013, 06:22 AM   #3
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
http://nmap.org/book/install.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about open ports on RH Linux server xmdms Linux - Newbie 6 09-12-2008 06:58 AM
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
Check Open Ports on DHCP Server moo-cow Linux - Networking 3 07-06-2006 01:50 PM
"How to check and open ports in Linux" tux4j Linux - Networking 4 09-14-2005 04:56 PM
Open ports on a remote machine doctorwebbox Linux - Networking 2 05-23-2005 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration