Jump to content

[SOLVED] localhost, 127.0.0.1 doesn't work, but 192.168.x.xxx does, and external ip?


Recommended Posts

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 :)

 

 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.