LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Finding Open Ports using RedHat 9 (https://www.linuxquestions.org/questions/linux-newbie-8/finding-open-ports-using-redhat-9-a-82703/)

PionexUser 08-16-2003 10:23 PM

Finding Open Ports using RedHat 9
 
Is there anything I can type in the Command Line to see which ports are open?

Mathieu 08-16-2003 10:38 PM

You can use the nmap command.
Code:

nmap your_ip_address

tearinox 08-16-2003 11:56 PM

- 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
$


All times are GMT -5. The time now is 06:00 AM.