最初,xampp运行良好,我可以毫无问题地访问我的本地主机。我甚至设置了访问服务器的密码。有一段时间,一切都很好,xampp询问我的凭据,我插入它们,然后我被带到我的管理员页面。没问题。
有一次,我不得不更改用于Apache的端口,但之后它就不再抱怨了。
现在我收到一条消息,说Google Chrome无法连接到我的本地主机。一切似乎都很正常,所以我不知道哪里出了问题。
这是我在xampp控制面板上看到的:
正在初始化控制面板
14:57:04 [main] Windows Version: Windows Vista Home Premium SP2 32-bit
14:57:04 [main] XAMPP Version: 1.8.3
14:57:04 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
14:57:04 [main] You are not running with administrator rights! This will work for
14:57:04 [main] most application stuff but whenever you do something with services
14:57:04 [main] there will be a security dialogue or things will break! So think
14:57:04 [main] about running this application with administrator rights!
14:57:04 [main] XAMPP Installation Directory: "c:\xampp\"
14:57:04 [main] Checking for prerequisites
14:57:04 [main] All prerequisites found
14:57:04 [main] Initializing Modules
14:57:04 [main] Starting Check-Timer
14:57:04 [main] Control Panel Ready
14:57:06 [Apache] Attempting to start Apache app...
14:57:06 [Apache] Status change detected: running
14:57:08 [mysql] Attempting to start MySQL app...
14:57:08 [mysql] Status change detected: running
发布于 2013-11-14 23:10:12
如果端口为10101,则需要在浏览器中指定新的端口号:http://localhost:10101
。
发布于 2019-01-26 09:13:46
您必须检查端口号,并将其与localhost一起添加。例如,我使用的端口是8080,因此它必须是localhost:8080/dashboard
发布于 2015-03-17 02:49:29
最有可能的是,您需要更改端口号。
您可以在服务器控制面板中执行此操作。按下配置按钮,进入httpd.conf文档并代表您更改端口号。
要加载它,请在url字段中键入localhost:"Your chosen port number"
。
https://stackoverflow.com/questions/19981187
复制相似问题