[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Enquery Opened Port



On Sun, 29 Jun 2003, Leo Huang wrote:

> There is a command to show which port is opened by which program.
> 
> Suppose I type "somecommand someoptions 80", and it will return the result
> "httpd"
> 
> Does anyone know the command I'm talking about?

Not quite.  I usually look at /etc/services if I need a port number.  
"netstat -p" will also tell you about open ports. (Expect for stuff 
launched by xinetd.)

nmap (or nmapfe) also might be what you are looking for.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]