XAMPP PORT 80 is Busy / EasyPHP error in Apache configuration file:

前端 未结 13 2060
渐次进展
渐次进展 2020-12-03 01:54

This problem has completely shot my entire day. I reformatted my old windows XP comp and tried installing XAMPP only to find that when i try to start Apache xampp claims por

相关标签:
13条回答
  • 2020-12-03 01:58

    xampp port 80 is busy when some other application is using the same port at that time. This can be solved by using one of the following methods:

    1. Detect the application which is using the port 80 and close it.
    2. This one is more efficient. xampp installs apache server with default port 80. So, you can change this port manually to any number.

    Just find the httpd.conf file in xampp installation and replace the following line of code.

    #Listen 12.34.56.78:1234
    Listen 80
    

    to any port number of your choice. Here, i have taken 8000.

    #Listen 12.34.56.78:1234
    Listen 8000
    

    Find the following code in the same file httpd.conf

    ServerName localhost
    

    Replace with the following, take the same number you have used in upper code.

    ServerName localhost:8000
    

    For detailed answer, check http://webolute.com/blog/programming/this-may-be-due-to-a-blocked-port-missing-dependencies

    0 讨论(0)
  • 2020-12-03 02:01

    Only one process can use port 80 at a time. Port 80 is the default port for web servers, so when you navigate to websites over HTTP, you are actually navigating to that server's port 80 by default (when you use HTTPS, the port is 443).

    You can try to hunt down all the programs that are running on port 80, but there's an easier way that will work for development. When running XAMPP, click "Config" under "Apache". Replace Listen 80 with Listen 8080 and ServerName localhost:80 to ServerName localhost:8080.

    Then, when you want to look at your masterpiece, navigate to http://localhost:8080 in your browser.

    0 讨论(0)
  • 2020-12-03 02:03

    Try finding the Service running on the PID that is blocking the service from Task manager->Services

    In case this isn't of help go to Task Manager->Services Go to the Services button on bottom right of window and stop the Web Deployment Agent Service. Retry starting Apache . That might solve the problem.

    0 讨论(0)
  • 2020-12-03 02:05

    Things to be done to free port 80:

    1. check if skype is running, exit from skype
    2. check services.msc if web deployment agent service is running
    3. check if IIS is running, stop it.

    Once you start apache, you can sign into skype.

    0 讨论(0)
  • 2020-12-03 02:08

    SQL Server Reporting Services (SSRS)
    SSRS can remain active even if you uninstall SQL Server.
    To stop the service:

    Open SQL Server Configuration Manager. Select “SQL Server Services” in the left-hand pane. Double-click “SQL Server Reporting Services”. Hit Stop. Switch to the Service tab and set the Start Mode to “Manual”.


    Skype
    Irritatingly, Skype can switch to port 80. To disable it, select
    Tools > Options > Advanced > Connection then uncheck
    “Use port 80 and 443 as alternatives for incoming connections”.


    IIS (Microsoft Internet Information Server)

    For Windows 7 (or vista) its the most likely culprit. You can stop the service from the command line.

    Open command line cmd.exe and type:

    net stop was /y
    

    For older versions of Windows type:

    net stop iisadmin /y
    

    Other

    If this does not solve the problem further detective work is necessary if IIS, SSRS and Skype are not to blame. Enter the following on the command line:

    netstat -ao
    

    The active TCP addresses and ports will be listed. Locate the line with local address “0.0.0.0:80″ and note the PID value. Start Task Manager. Navigate to the Processes tab and, if necessary, click View > Select Columns to ensure “PID (Process Identifier)” is checked. You can now locate the PID you noted above. The description and properties should help you determine which application is using the port.

    0 讨论(0)
  • 2020-12-03 02:09

    Run this in command prompt:

    netstat -ano | find ":80"

    It will show you what process (PID) is listening on port 80.

    From there you can open task manager, make sure you have PID selected in columns view option, and find the matching PID to find what process it is.

    If its svchost.exe you'll have to dig more (see tasklist /svc).

    I had this happen to me recently and it wasn't any of the popular answers like Skype either, could be Adobe, Java, anything really.

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