Operating System - Linux
1755534 Members
4273 Online
108834 Solutions
New Discussion юеВ

How can i find which are the ports open on Redhat.

 
SOLVED
Go to solution
Silver_1
Regular Advisor

How can i find which are the ports open on Redhat.

Gurus,

Which option of netstat will help us to know this ?

Tx.
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: How can i find which are the ports open on Redhat.

You can use netstat -an, you will see the tcp ports in the LISTEN state and the udp ports open.

You can also use nmap to check open ports remotelly.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Silver_1
Regular Advisor

Re: How can i find which are the ports open on Redhat.

Thanks Ivan
dirk dierickx
Honored Contributor

Re: How can i find which are the ports open on Redhat.

and lsof is also able to list ports.
David I Whitehouse
New Member

Re: How can i find which are the ports open on Redhat.

You could also port scan the server from the network with something like NESSUS http://www.nessus.org/
Thomas Callahan
Valued Contributor

Re: How can i find which are the ports open on Redhat.

use `netstat --listening` for local, and nmap for remote.