Re: find IP and PORT in use by Apache

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

 



> tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 28122/xinetd
> Shows the port, 5666, the PID, 28122, and the program name, xinetd
So, you still don't know what is the IP address (network interface)? I mean eth0, eth1 and ...

Mine is different!

root@cluster:~# netstat -pat | grep httpd
tcp        0      0 *:ulistproc                 *:*                         LISTEN      3940/httpd
tcp        0      0 *:https                     *:*                         LISTEN      3940/httpd


>The only directive that causes Apache to listen on a network interface
>is "Listen".

As I said, that section is commented. So, there should be a default ethX and port.
The port number can be found, but the ethX is not visible. At least for me...

root@cluster:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:81:C6:D5:35
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
eth1      Link encap:Ethernet  HWaddr 00:E0:81:C6:D5:34
          inet addr:172.20.54.10  Bcast:172.20.54.255  Mask:255.255.255.0


 
Regards,
Mahmood





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux