Preferences > Ports
Server applications, when addressed over the network, must be assigned to a specific network port. This allows multiple server programs to run on a single server machine. Each service has a default port: The Apache web server typically uses port 80, and the MySQL database server uses port 3306. These ports are configurable.
The default configuration for MAMP uses ports 8888 and 8889 as well as 7888. This allows the MAMP servers to run alongside other servers installed on your Mac. If ports 8888, 8889 or 7888 are being used by another application, please change the values accordingly.
-
Apache Port / Nginx Port / MySQL Port
Here you specify the ports for connections to the Apache and Nginx web servers via http. You also specify the ports for connections to the MySQL database server. -
Set Web & MySQL ports to:
-
MAMP default
This button resets the ports for Apache, Nginx and MySQL to 8888, 7888 and 8889. -
80 & 3306
This button sets the ports to the value commonly used on the Internet.
-
If you want MAMP to be available over the Internet, please make sure that the configured ports are open in your firewall.