LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2003, 10:23 PM   #1
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Rep: Reputation: 30
Finding Open Ports using RedHat 9


Is there anything I can type in the Command Line to see which ports are open?
 
Old 08-16-2003, 10:38 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You can use the nmap command.
Code:
nmap your_ip_address
 
Old 08-16-2003, 11:56 PM   #3
tearinox
Member
 
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348

Rep: Reputation: 30
- If you Distro doesn't have nmap right away... you can download the rpm file here:

http://download.insecure.org/nmap/di....30-1.i386.rpm

- Or, you can use the command netstat -t which comes with mdk 9.1
Example:

$netstat -t
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.1.101:9999 255.255.255.255: ESTABLISHED
tcp 0 0 192.168.1.101:99999 255.255.255.255: ESTABLISHED
$
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
Is my Redhat 9 safe with all this ports Open? novkhan Linux - Networking 4 05-12-2004 11:36 AM
Help with RedHat firewall open ports Linux6574 Red Hat 2 04-24-2004 08:20 AM
How do you open ports on Linux Redhat 7.3 number1talent Linux - Newbie 3 03-18-2004 03:39 PM
open ports redhat centr0 Linux - Newbie 2 05-15-2003 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:31 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