#83780 - 27/03/200213:08Re: Can't login from console on RedHat 7.1
[Re: robricc]
Roger carpal tunnel
Registered: 18/01/2000
Posts: 5688
Loc: London, UK
Oh, yeah, netstat by default only lists Unix-domain sockets.
You actually need netstat -a -t -u -p
-t and -u include TCP and UDP ports
-a includes listening ports (otherwise it just lists connected ports)
-p shows the pid/command line of the program on that port.