LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Monitor http trafic (https://www.linuxquestions.org/questions/linux-networking-3/monitor-http-trafic-2289/)

Justinw 05-04-2001 06:22 AM

Hi,

I've setup apache and can access it internally from the lan using http://192.168.1.2, but not externally using http://www.domain.com.

This could very well be a problem at our router although the admin guys say it should work. Is the anyway to check if http traffic is getting to the server or not ?

Thanks in advance,

raz 05-04-2001 06:53 AM

First place to look is the Apache's log files.
Go to the directory where Apache is install and
i.e /usr/local/apache/logs
look in the file: access_log
See if any connections have been made from other addresses.

Sounds like a router problem.
So you'll need to check at a packet level or the routers logs.

use one of these programs on the Linux box:
tcpdump
ngrep
ethereal

You'll have to install them as they are not standard RPM installs.

Best way to find out is to dialup to an ISP outside your internal network and ping the IP address, if that fails due to a firewall try to traceroute to the webserver, as most admins don't understand how to turn this off.

If traceroute's last hop is the router then you know it's the problem.
Or use this URL to show you, replacing the http://www.domain.com with the correct one: "will take a few mins"

http://www.debug.net/connectivity/?www.domain.com

/Raz

Justinw 05-04-2001 07:05 AM

Hi Razbot,

Thanks for the advice. I used the website and the router is the last hop, so I guess it's back to network admin with the evidence !

Thanks again,


All times are GMT -5. The time now is 03:18 AM.