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

Re: Enquery Opened Port



On Sun, 2003-06-29 at 03:06, Leo Huang wrote:
> Hello,
> 
> 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"

netstat -ntp --inet

   -n		Numeric (don't resolve hostnames)
   -p		Show pid & program name
   --inet	Only inet family of protocols

add --listen to look specifically for servers listening on ports




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