Search code examples
apachemamp

MAMP how can I configure apache port to something other than 80


Basically I am getting the error in this post: APACHE needs port 80 - MAMP . The solution to original post is to kill the tasks using Port 80. But I don't want to kill the tasks which I don't know.

I have already changed the port number for Apache in MAMP UI. But I am still getting the same error message. Is there a way I can configure which port for Apache to use in MAMP?


Solution

    1. Quit MAMP (make sure servers are stopped)
    2. Open Apache configuration page "c:\MAMP\conf\apache\httpd.conf" (with a text editor)
    3. Locate line "Listen 80"
    4. Change to "Listen 8080", save
    5. Run MAMP UI (you should see the port for Apache changed to 8080)