APACHE needs port 80 - MAMP

后端 未结 10 2283
伪装坚强ぢ
伪装坚强ぢ 2021-02-10 00:46

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         


        
相关标签:
10条回答
  • 2021-02-10 01:17

    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.
    0 讨论(0)
  • 2021-02-10 01:19

    If you arrived here because you just installed MAMP on a Windows OS (7~10), then Microsoft IIS is the most likely culprit hanging on to port 80.

    You can confirm that with the CLI netstat advice by Sergio below and should you find via netstat that a listening service has a process id that maps to NT Kernal & System (ntoskrnl.exe -> cross check via details tab in task manager) then the culprit is IIS.

    To Turn off IIS;

    Start menu -> Control Panel -> Programs & Features -> Turn Windows Features On or Off -> De-select 'Internet Information Services'.

    If you know why IIS is running then you will likely know the application that specifically needs it and you can turn back on when need (take note of the selection chain when turning off) -- otherwise it's unlikely you need IIS on.

    0 讨论(0)
  • 2021-02-10 01:20

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

    0 讨论(0)
  • 2021-02-10 01:21

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

    0 讨论(0)
提交回复
热议问题