thetruesingh Posted March 22, 2009 Share Posted March 22, 2009 i've recently setup my webserver with Apache and mySQL, php, phpMyAdmin. everythings been working fine until a few hours ago, when it just stopped working. i'm not getting any error message. localhost won't work, neither does http://127.0.0.1 all i get from that is : Internet Explorer cannot display the webpage Most likely causes: You are not connected to the Internet. The website is encountering problems. There might be a typing error in the address. What you can try: Diagnose Connection Problems More information meanwhile, if i type http://192.168.x.xxx/ or My external IP (my routers' configured to a dmz server) i can access my website, but that too, with some limitations. if i use something like the login page, or the contactus page, it will just hang, and won't go any further. if you want to try yourself go to : http://www.singhgroupofindustries.co.nr/ << it's a school project. lol. or http://www.singhgroupofindustries.ath.cx/ [if the site doesn't work at all, it's because this computer is switched off. haha, then you may have to try later, not a dedicated server, sorry ] i've tried to edit my hosts file, but that didn't help either. i've pinged localhost, and i get a response. Pinging Harpreet-Singh [127.0.0.1] with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Ping statistics for 127.0.0.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms i'm totally stuck, it's frustrating! please help asap! thanks Quote Link to comment https://forums.phpfreaks.com/topic/150591-solved-localhost-127001-doesnt-work-but-192168xxxx-does-and-external-ip/ Share on other sites More sharing options...
thetruesingh Posted March 22, 2009 Author Share Posted March 22, 2009 oh, and another thing. because it's still a work in progress, most of the links will navigate back to the index-2.html page. the only pages that work are home, contact, and login Quote Link to comment https://forums.phpfreaks.com/topic/150591-solved-localhost-127001-doesnt-work-but-192168xxxx-does-and-external-ip/#findComment-791016 Share on other sites More sharing options...
wildteen88 Posted March 22, 2009 Share Posted March 22, 2009 Open Apaches httpd.conf and look for the Listen directive. It should look like Listen localhost:80 Post what it says here. Also look at this post. Quote Link to comment https://forums.phpfreaks.com/topic/150591-solved-localhost-127001-doesnt-work-but-192168xxxx-does-and-external-ip/#findComment-791020 Share on other sites More sharing options...
thetruesingh Posted March 22, 2009 Author Share Posted March 22, 2009 Listen 80 that's all it says, i tried it your way, and it worked! no idea how it changed, but thanks. i just have to work on my dodgy login/contact page stuff! Quote Link to comment https://forums.phpfreaks.com/topic/150591-solved-localhost-127001-doesnt-work-but-192168xxxx-does-and-external-ip/#findComment-791029 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.