Re: What service is listening on a port



In news:ptpsa4-lh9.ln1@xxxxxxxxxxxxxxxxx,
JimR <kd1yv8@xxxxxxxxxxxxxxxxxxxx> wrote:

How can we find what service is listening on that specific port? It
seems like some variation of netstat should do it, but I can't find
the correct combination to identify the actual service.

As root:
netstat -pan
.



Relevant Pages

  • Problem with netstat -p
    ... I'm having a problem using netstat -tap in a Bash Script. ... it prints in the screen the annoying message (Not all ... you would have to be root to see it all.). ...
    (comp.unix.shell)
  • Re: ls (and others) strange behavior
    ... Suddenly some commands (ls, du, netstat, ps and some others) do not work ... anymore. ... changing it back to root did not make any difference, ...
    (comp.unix.shell)
  • raw 0 0 0.0.0.0:6 0.0.0.0:* 7
    ... as root, when I do a netstat -an --ip. ... but as user www the same command gives this: ... I also had remote ip addresses connecting to this machine before I rebooted. ...
    (comp.security.misc)
  • raw 0 0 0.0.0.0:6 0.0.0.0:* 7
    ... as root, when I do a netstat -an --ip. ... but as user www the same command gives this: ... I also had remote ip addresses connecting to this machine before I rebooted. ...
    (comp.os.linux.security)
  • raw 0 0 0.0.0.0:6 0.0.0.0:* 7
    ... as root, when I do a netstat -an --ip. ... but as user www the same command gives this: ... I also had remote ip addresses connecting to this machine before I rebooted. ...
    (comp.security.firewalls)