1

I am using XAMPP on MAC. It has been working for a few months. I was using Port 80 and Port 89 for a Virtual Host.

I haven't done anything recently (maybe the problem comes from the fact that I am connected to a public Wi-Fi... that is the only difference), but it has stopped working. When I go to localhost/, my browser shows : ERR_NAME_NOT_RESOLVED.

Nothing looks wrong on the Application Log...

Do you have any idea which could help me ?

Thanks a lot !

4
  • Does localhost still map to 127.0.0.1 ? Commented Aug 24, 2015 at 7:29
  • Where can i see it ? Commented Aug 24, 2015 at 7:30
  • You can ping localhost in Terminal, or you can view it in /etc/hosts. Make sure the Apache is listening to port 80. Commented Aug 24, 2015 at 7:34
  • 1
    Thank you, I found that the localhost line disappeared from /etc/hosts, I added this line : 127.0.0.1 localhost and now it works, thanks a lot ! Commented Aug 24, 2015 at 7:38

1 Answer 1

3

As mentioned in comment, localhost is not mapped to 127.0.0.1. After added the entry 127.0.0.1 localhost in /etc/hosts, the XAMPP works fine.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.