Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just installed MAMP on my mac machine and checked the server is working by looking at localhost. I looked up my IP address by ifconfig. When I use another machine, I still can't get connected to the server. Why is that? I haven't register a domain name, but I suppose to be able to connect by IP address, isn't it?

share|improve this question
up vote 2 down vote accepted

Not necessarily. I know on WAMP you have to edit your Apache conf file to allow other computers to access your websrever. This is for security reasons as software like WAMP and MAMP are not configured to be secure by default.

Somewhere in your main Apache conf file you'll find where access is controlled. Change it to be something like this and it should work for you (after restarting Apache):

<Directory "C:/Program Files/*/www">
 Order allow, deny
 Allow from all

Obviously you'll need to change the path to be appropriate to your Mac install.

(Hopefully someone with MAMP experience can improve my answer appropriately)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.