APACHE needs port 80 - MAMP

2019-04-11 21:03发布

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.

标签: mamp
9条回答
Juvenile、少年°
2楼-- · 2019-04-11 21:30

I also found this post - https://superuser.com/questions/960023/port-80-already-in-use-after-windows-10-upgrade - suggesting disabling the IIS service, which worked perfectly for me

查看更多
三岁会撩人
3楼-- · 2019-04-11 21:39

Hey On Windows 10 I Ran into the same issue.. I found a way that is a guarantee fix... Go into controlpanel -> system security -> windows firewall -> on the left pane there is advanced settings.. click that. -> then add new inbound rule (on the left pane click inbound... then new rule on the right pane.) -> then follow the wizard as program and select mamp from C:/MAMP I believe. Then you are Golden!! Hope this helps all those out there with the new windows 10. Hypertextie

查看更多
叼着烟拽天下
4楼-- · 2019-04-11 21:42

You can change MAMP ports in Preferences -> ports, like a screenshot below MAMP change port for using with Skype

查看更多
Luminary・发光体
5楼-- · 2019-04-11 21:44

Thru some web searches, I discovered that other windows services are know to be using Port 80. In Windows Search (via Windows Start), type 'services', stop one of these services below en test again till it works. Do not forget to restart it later !

  • SQL Server Reporting Services
  • Web Deployment Agent Service
  • BranchCache
  • Sync Share Service
  • World Wide Web Publishing Service
  • Internet Information Server
查看更多
狗以群分
6楼-- · 2019-04-11 21:47

Start windows command line and then run netstat -aon | findstr :80 You will see line with process that is using port 80

查看更多
你好瞎i
7楼-- · 2019-04-11 21:53

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.
查看更多
登录 后发表回答