首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >我无法使用xampp访问我的本地主机

我无法使用xampp访问我的本地主机
EN

Stack Overflow用户
提问于 2013-11-14 23:08:39
回答 3查看 99.2K关注 0票数 5

最初,xampp运行良好,我可以毫无问题地访问我的本地主机。我甚至设置了访问服务器的密码。有一段时间,一切都很好,xampp询问我的凭据,我插入它们,然后我被带到我的管理员页面。没问题。

有一次,我不得不更改用于Apache的端口,但之后它就不再抱怨了。

现在我收到一条消息,说Google Chrome无法连接到我的本地主机。一切似乎都很正常,所以我不知道哪里出了问题。

这是我在xampp控制面板上看到的:

正在初始化控制面板

代码语言:javascript
复制
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
EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2013-11-14 23:10:12

如果端口为10101,则需要在浏览器中指定新的端口号:http://localhost:10101

票数 25
EN

Stack Overflow用户

发布于 2019-01-26 09:13:46

您必须检查端口号,并将其与localhost一起添加。例如,我使用的端口是8080,因此它必须是localhost:8080/dashboard

票数 4
EN

Stack Overflow用户

发布于 2015-03-17 02:49:29

最有可能的是,您需要更改端口号。

您可以在服务器控制面板中执行此操作。按下配置按钮,进入httpd.conf文档并代表您更改端口号。

要加载它,请在url字段中键入localhost:"Your chosen port number"

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19981187

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档