Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

APACHE needs port 80 - MAMP

Tags:

mamp

I want to run MAMP on my Windows 8.1 pc, but when I start the servers, it says:

'APACHE' needs open port '80' which is already being used by another 
service or application. Please reconfigure 'APACHE' to use free port.

Changing the port to something else doesn't help.

like image 260
Matthias Avatar asked May 23 '15 16:05

Matthias


People also ask

Does Apache run on port 80?

During installation, port 80 is required to install the Apache web server. If you have another product installed that uses port 80, you must change the Apache HTTP port to another port number before you start the application that is using port 80.

What port does MAMP use?

The default configuration for MAMP uses ports 8888 and 8889, and 7888. That way, the MAMP servers can run alongside other servers installed on your Mac.

What ports need to be open for Apache?

By default, Apache web server is instructed to listen for incoming connection and bind on port 80. If you opt for the TLS configuration, the server will listen for secure connections on port 443.

How do I enable Apache on port 80?

Go to the Control Panel and launch "Windows Firewall" Go to "Advanced Settings" Select "Inbound Rules" in the left pane Select "New Rule" in the right pane In the New Inbound Rule Wizard, select "Port" as Rule Type, then click on "Next" Select "TCP and put "80" (and any other ports you want to open) in "Specific local ...


2 Answers

when you have this problem just turn off Skype because Skype use port 80

like image 138
Šimon Drienik Avatar answered Nov 03 '22 00:11

Šimon Drienik


I used kampageddon's answer and it worked. Just follow the following steps:

  1. Run MAMP
  2. Click Preferences
  3. On Preference window click Ports
  4. While on Ports change Apache & Nginx Port to 8080.
  5. click ok
  6. Start Servers.
like image 29
Tonny Marvelo Avatar answered Nov 02 '22 22:11

Tonny Marvelo