Skip to content
MAMP Documentation

Ports

MAMP

Server programs that communicate over the network must be assigned to a specific 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 computer. If ports 7888, 8888, or 8889 are being used by another application, please change the values accordingly.

The button Set Web & MySQL ports to 80 & 3306 will set the ports to the values commonly used on the Internet. The button Set MAMP ports to default will reset the ports for Apache, Nginx, and MySQL to 8888, 7888, and 8889.

If you want MAMP to be accessible over the Internet, make sure the configured ports are open in your firewall.