On Tuesday 08 August 2006 22:34, Sandy Drobic wrote:
Primm wrote:
Please verify that apache is listening indeed on the desired ports: What does "netstat -antp | grep ':80'" say?I get this with or without the
firewall.
Hi. I get this with or without the firewall:
netstat -antp | grep ':80' tcp 0 0 :::80 :::* LISTEN 21883/httpd2-prefor tcp 0 0 192.168.1.2:80 64.148.188.113:32024 ESTABLISHED 23799/httpd2-prefor
This seems to say that a client with the ip 64.148.188.113 has established a connection.
tcp 0 0 192.168.1.2:80 64.148.188.113:32025 ESTABLISHED 24093/httpd2-prefor tcp 0 579 192.168.1.2:80 72.192.172.160:3063 ESTABLISHED 23730/httpd2-prefor tcp 0 9714 192.168.1.2:80 4.157.5.253:1243 ESTABLISHED 23779/httpd2-prefor tcp 0 0 192.168.1.2:80 4.157.5.253:1236 TIME_WAIT - tcp 0 0 192.168.1.2:80 86.143.60.236:3566 FIN_WAIT2 - tcp 0 285 192.168.1.2:80 72.192.172.160:3064 ESTABLISHED 24091/httpd2-prefor
Other clients can obviously also connect from the internet.
I can now connect on 127.0.0.1 and via localhost but not via 192.168.1.2 nor the computer name.
If you have a network connection between your apache server and your client, then you should be able to connect. How did you test the connection exactly?
I typed http://localhost into knoqueror and firefox. Neither will connect. Then I typed http://127.0.0.1 into the same browsers and it connected. I and everyone else can connect just fine from the Internet. It's the internal connection that's failing.
What is written in the apache log at that time?
THis sort of stuff: "http://127.0.0.1/news.php" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.1 (like Gecko)" 127.0.0.1 - - [08/Aug/2006:15:12:05 +0200] "GET /e107_themes/khatru/images/wblogo.png HTTP/1.1" 404 1176 "http://127.0.0.1/news.php" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.1 (like Gecko)" 127.0.0.1 - - [08/Aug/2006:15:12:05 +0200] "GET /e107_images/newspost_images/newsabstractth.jpg HTTP/1.1" 304 - "http://127.0.0.1/news.php" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.1 (like Gecko)"
Sandy
THanks for your effort. Steve.