How can I find which IP:PORT Apache web server is monitoring? There are some network commands, but they show the TCP port in use. The machine has multiple network interfaces and the Listen
section in httpd.conf
is commented. So, one of the is used by default and I don't know which one is set as default.
For example, the following command only shows the port number
root@cluster:~# netstat -pat | grep httpd
tcp 0 0 *:ulistproc *:* LISTEN 3940/httpd
tcp 0 0 *:https *:* LISTEN 3940/httpd
Also, I expect that the correct port number should be 80 and not 3940!
Any idea to find that?
*
, which means any and all IP traffic that reaches the computer.