当前位置: 动力学知识库 > 问答 > 编程问答 >

xampp - How to configure Apache to listen some different port?

问题描述:

I am facing problem in starting XAMPP. First of all it gives me error messages in RED when i start XAMPP control panel. When i click on START APACHE, it starts it but when i open localhost it gives me the following error message.

Not Found

HTTP Error 404. The requested resource is not found.

I have tried various ways to resolve this problem but it isn't solved yet. Kindly guide me.

Thanks.

网友答案:

checklist

  • first run XAMPP installer by UAC(User Account Control) and Antivirus off and run it as admin
  • uninstall previous XAMP installation
  • turn off IIS temporarily (which will use default port 80)
  • change the port to some free valid port by following below guide
    • summary (Locate the file httpd.conf. This file should be found in C:\xampp\apache\conf folder or via config button in XAMPP control panel and search for 80 port and change it to something like 1234

http://complete-concrete-concise.com/web-tools/how-to-change-the-apache-port-in-xampp

网友答案:

check services.msc if web deployment agent service is running.

check if IIS is running, stop it.

分享给朋友:
您可能感兴趣的文章:
随机阅读: