1

You know why Apache Server doesn't get connected in MAMP? I have tried both ports 80 and 8888 none of which worked. Here's a screenshot: enter image description here

I went to sharing in system preferences and this is what it was like. Please let me know if it should be different: enter image description here

Mona Jalal
  • 34,860
  • 64
  • 239
  • 408

2 Answers2

1

Sometimes the apache process is still running in background. Try to kill the httpd process and restart MAMP.

edit:
To do this:

  1. Quit MAMP
  2. Go to Utilities and open activity monitor
  3. Look for httpd processes
  4. Click Quit process and then Force Quit
  5. Start MAMP

edit2: If you use MAMP make sure you turn off the Personal Web Sharing.
System Preferences. Click the Sharing tab, and then turn off the Personal Web Sharing checkbox.

avarx
  • 509
  • 5
  • 21
0

Go to your MAMP folder in Applications. Go to bin -> apache2 -> bin:

Then rename the file from "envvars" to "_envvars".

ref: Apache not starting on MAMP Pro

Community
  • 1
  • 1
Jack
  • 1