Removing :8888 from URL

The default settings in MAMP result in the URL for your local site to be displayed as:

http://localhost:8888/index.php

This can be changed by going to MAMP > Preferences > Ports > Apache Port, and changing it from 8888 to 80

Apache Port: 80

This results in the URL being displayed as:

http://localhost/index.php

And also allows you to access the homepage by simply typing in “localhost” into the address field.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>