On Tuesday 08 August 2006 21:08, Sandy Drobic wrote:
Primm wrote:
/etc/hosts contains:
127.0.0.1 localhost 192.168.1.2 steve2.com steve2
apache is set to listen on all IP's
My computer name is steve2.com
I can ping all four of the above internally.
http://127.0.0.1 works (it shows me my webpage) None of the others will give me my webpage.
I want to be able to type the same address internally as I do externally in Internet whilst developing my site especially when copying links.
Can anyone help me?
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 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 I can now connect on 127.0.0.1 and via localhost but not via 192.168.1.2 nor the computer name. Any ideas?