Fail to visit homepage - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: LAMP (https://www.linux-noob.com/forums/forum-83.html) +--- Thread: Fail to visit homepage (/thread-1712.html) Pages:
1
2
|
Fail to visit homepage - satimis - 2006-12-01 Hi folks, Ubuntu-6.06.1-LAMP-server-amd64 Apache2 Domain: satimis.homelinux.com (registered with dynsdn.com) Apache is running on this server which is for test purpose. On browser [/url]http://satimis.homelinux.com https://satimis.homelinux.com satimis.homelinux.com http://satimis.homelinux.com:443 https://satimis.homelinux.com:443 satimis.homelinux.com:443 http://satimis.homelinux.com:8080 https://satimis.homelinux.com:8080 satimis.homelinux.com:8080 all of them failed to visit the homepage on /var/www/. They only hung there until time out. Both ports 443 and 8080 are open and not stealth. I have them checked on; [url=http://www.grc.com/]http://www.grc.com/ SheildsUp # cat /etc/hosts Code: 127.0.0.1 localhost.localdomain localhost However //localhost //localhost:443 //localhost:8080 all displayed the homepage. There is no hardware firewall between server and Internet. The server is connected with a CAT5 cable to an ADSL modem. Another end of the ADSL modem is connected to telephone wall socket with a telephone line. The ADSL modem is supplied by ISP and does not require setup. Please help. TIA B.R. satimis Fail to visit homepage - anyweb - 2006-12-01 are you absolutely SURE that iptables/firewall is not blocking those ports ? and is apache really listening on those ports ? netstat -an |grep tcp should show you what is listening Fail to visit homepage - satimis - 2006-12-01 Hi anyweb, Quote:are you absolutely SURE that iptables/firewall is not blocking those ports ?Whether you meant 80, 443 and 8080? Quote:and is apache really listening on those ports ?$ netstat -an | grep tcp Code: tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN ports 80, 443, 8080 are listened by tcp6. Tks. B.R. satimis Fail to visit homepage - anyweb - 2006-12-01 yep, meaning that it's listening for ipv6 connections and not 'normal' internet traffic i dont know how you've configured it to do that but it's certaintly not listening on regular port 80 checkout my webserver listen properties Quote:tcp 0 0 192.168.0.128:80 0.0.0.0:* LISTEN so, are you using ipv6 at all ? if not re-configure your network settings and/or httpd.conf to listen on your IP and not your IPV6 cheers anyweb Fail to visit homepage - satimis - 2006-12-01 Hi anyweb, Quote:yep, meaning that it's listening for ipv6 connections and not 'normal' internet trafficI haven't configured the network after installing Ubuntu-6.06.1-LAMP-server-amd6. I followed; [/url][url=http://www.howtoforge.com/perfect_setup_ubuntu_6.06]http://www.howtoforge.com/perfect_setup_ubuntu_6.06 to build this server for test and absorbing knowhow as well. Neither I configured listening ipv6. I even don't fully understand its application. Quote:so, are you using ipv6 at all ? if not re-configure your network settings and/or httpd.conf to listen on your IP and not your IPV6Please advise which file shall I edit; $ cat /etc/hosts Code: 127.0.0.1 localhost.localdomain localhost $ cat /etc/network/interfaces Code: # This file describes the network interfaces available on your system $ cat /etc/apache2/httpd.conf Code: # This is here for backwards compatability reasons and to support No entry on this file. and how to make such a change. TIA B.R. satimis Fail to visit homepage - anyweb - 2006-12-01 try this [/url][url=http://www.ubuntuforums.org/archive/index.php/t-87798.html]http://www.ubuntuforums.org/archive/index.php/t-87798.html and then restart, and do a new netstat -an |grep tcp is apache listening on tcp port 80 then ? Fail to visit homepage - satimis - 2006-12-02 Hi anyweb, Tks for your URL Performed following test; on /etc/modprobe.d/aliases added follows; alias net-pf-10 ipv6 off alias net-pf-10 off alias ipv6 off #alias net-pf-10 ipv6 Code: # network protocols ########################################################## Rebooted PC On browser; satimis.homelinux.com (still failed displaying webpage) 219.79.147.166 (displayed webpage. IP address on connection) $ sudo ping -c 3 satimis.homelinux.com Code: Password: $ sudo netstat -an |grep tcp Code: tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN Tks. B.R. satimis Fail to visit homepage - znx - 2006-12-02 This is a firewall issue, attempting to scan that system shows: Code: Host n058152181013.netvigator.com (58.152.181.13) appears to be up ... good. Obviously there is no IPv6 address, so I can't scan those ports, so all ports are filtered. Look into your firewall setup. Fail to visit homepage - satimis - 2006-12-02 znx, Quote:Obviously there is no IPv6 address, so I can't scan those ports, so all ports are filtered.$ sudo iptables -L Code: Password: $ sudo iptables -L -n -v Code: Chain INPUT (policy ACCEPT 10142 packets, 9083K bytes) It is quite strange to me. I can ping 219.79.144.63 which is the IP address on connection. But failed to ping "satimis.homelinux.com" On browser 219.79.144.63 can browse the webpage and "satimis.homelinux.com" failed. I login DYNDNS.COM and found the IP there has been updated 219.79.144.63. It seems DYNDNS.COM has not redirected satimis.homelinux.com to 219.79.144.63 My server is off if I'm not working on it. B.R. satimis Fail to visit homepage - anyweb - 2006-12-02 Quote:On browser;satimis.homelinux.com (still failed displaying webpage) something about that ^ doesnt look right which ip should you be, the 58 one or the 219 one ? sort that out first then see if you can fix this issue cheers anyweb |