Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)

前端 未结 27 1832
不知归路
不知归路 2020-11-28 04:16

I have installed XAMPP (xampp-win32-1.8.2-0-VC9-installer.exe) on Windows 7 successfully. But unfortunately, the following error was found during running Apache from XAMPP C

相关标签:
27条回答
  • 2020-11-28 04:50

    If You installed SQL Express or any .Net Server then you need to stop. open cmd in administrator mode and type this line ...

    net stop Was

    now start apache

    0 讨论(0)
  • 2020-11-28 04:51

    XAMPP Control Panel under Windows does not always reflect what is actually going on, unless you start it by "Run as administrator".

    0 讨论(0)
  • 2020-11-28 04:51

    Even if you've configured Apache to listen on another port, you will still get this error if another program is using the default SSL port 443.

    What you also need to edit is the http-ssl.conf file and alter the line Listen 443 and change the port number there.

    0 讨论(0)
  • 2020-11-28 04:52

    Go in xampp/apache/conf/httpd.conf and open it. Then just chang 2 lines

    Listen 80
    to
    Listen 81
    

    And

    ServerName localhost:80
    to
    ServerName localhost:81
    

    Then start using admin privileges.

    0 讨论(0)
  • 2020-11-28 04:52

    I have a solution. I had this problem and research a solution, but i did not succeed. So i downloaded a newer version of XAMPP and clicked on the option netstats within the program.
    There he gave me a list of programs and the ports they used and so I looked and had no program using port 80, but apache beyond 80 also uses port 443... and there was a program called Pando Media Boster this door, I started the task manager and finished the process of pando Average boster. Hope it helped :).

    0 讨论(0)
  • 2020-11-28 04:52

    Probably you change configuration file in "httpd-ssl.conf"

    <VirtualHost _default_:443>
    DocumentRoot "D:/Server/xServer"
    ServerName xyz.abc.com
    SSLCertificateFile "conf/ssl.crt/xyz.crt"
    SSLCertificateKeyFile "conf/ssl.key/sftaps.in.key"
    </VirtualHost>
    

    May be you change certificate name or something in Apache folder.

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