Skip to content
MAMP Documentation

Ports

Server applications must be assigned to a specific network port so multiple services can run on one machine. Apache typically uses port 80, MySQL port 3306. MAMP defaults to 8888, 7888, and 8889 so its servers can run alongside other software on your Mac. Change these values if another application already uses them.

MAMP - Settings - Ports

Apache Port / Nginx Port / MySQL Port
The ports MAMP uses for HTTP connections to Apache and Nginx, and for connections to MySQL.
Set Web & MySQL ports to
MAMP default
Resets all ports to the MAMP defaults: Apache 8888, Nginx 7888, MySQL 8889.
80 & 3306
Sets ports to the standard internet values (Apache/Nginx 80, MySQL 3306).