Re: monitoring server and which ports they are connected to.

2007-10-05 Thread Stephane Chazelas
On Fri, Oct 05, 2007 at 03:25:52PM -0600, Tyler Bird wrote: [...] > Hey this worked great for seeing servers connected to port 80, but it > didn't show any servers bound and listening to port 443. Sounds like a problem in your /etc/services file. > On my system I even did a telnet 192.168.0.252

Re: monitoring server and which ports they are connected to.

2007-10-05 Thread Tyler Bird
Stephane Chazelas wrote: On Tue, Oct 02, 2007 at 01:01:52PM -0700, Manoj Bist wrote: Try 'sudo lsof -i:443'. [...] See also: ss -a 'src :https' (ss is part of iproute, the new suite of ip managment tools for Linux). Cheers, Stephane Hey this worked great for seeing servers conne

Re: monitoring server and which ports they are connected to.

2007-10-02 Thread Stephane Chazelas
On Tue, Oct 02, 2007 at 01:01:52PM -0700, Manoj Bist wrote: > Try 'sudo lsof -i:443'. [...] See also: ss -a 'src :https' (ss is part of iproute, the new suite of ip managment tools for Linux). Cheers, Stephane

Re: monitoring server and which ports they are connected to.

2007-10-02 Thread Manoj Bist
Try 'sudo lsof -i:443'. This is what I get on my system. sudo lsof -i:443 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME apache2 14550 root5u IPv6 2251478 TCP *:https (LISTEN) apache2 14589 www-data5u IPv6 2251478 TCP *:https (LISTEN) apache2 26533 www-data