Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Apache periodically stops working on MAMP (with OS X 10.6.8). It'll be running fine but then it will suddenly stop serving pages. The status light stays green and the error logs are clean. Rebooting my computer sometimes fixes the problem, but not always. I've also noticed that the same problem can occur when I'm connected to certain WiFi networks.

This is incredibly frustrating (and the MAMP form moderators haven't approved my question, which I submitted over a week ago). Can anybody help me troubleshoot?

EDIT: Weirdly, 127.0.0.1:8888 works but not localhost:8888. Any idea why?

share|improve this question
    
Is it serving over IPv4 only? If so, localhost:8888 might be defaulting to IPv6 and failing for that reason. –  Gordon Davisson Nov 5 '11 at 21:44
    
I'm not sure how to check that. Can you tell me how? –  Joseph Mornin Nov 23 '11 at 20:05
    
Run the command netstat -an | grep "8888.*LISTEN" and see if it lists "tcp4", "tcp6", or both (either as two entries or "tcp46"). –  Gordon Davisson Nov 23 '11 at 21:52

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.