【问题标题】:localhost url in browser gives 404 error in xampp浏览器中的 localhost url 在 xampp 中给出 404 错误
【发布时间】:2015-01-03 19:14:13
【问题描述】:

我已经安装了 XAMPP 服务器并在端口 8080 上启动了 Apache。它工作正常,但是当我在浏览器 localhost 中写入时它不起作用。显示的消息是“HTTP 错误 404。未找到请求的资源。

【问题讨论】:

  • 试试:localhost:8080 这对你有用吗?
  • 检查您的防火墙设置。您使用的是哪个操作系统?
  • 如果在localhost:8080127.0.0.1:8080 上仍然出现错误,请检查您在Windows 中C:\Windows\System32\drivers\etc\hosts 中的主机文件或LINUX 中的/etc/hosts 文件.应该有“127.0.0.1 localhost”行。缺少时添加

标签: xampp http-error


【解决方案1】:

尝试本地主机:8080。如果第一种方法失败,也可以尝试 127.0.0.1/8080。

【讨论】:

    猜你喜欢
    • 2013-12-11
    • 2016-02-25
    • 1970-01-01
    • 1970-01-01
    • 2011-06-23
    • 2022-08-12
    • 1970-01-01
    • 2014-03-13
    • 2018-04-24
    相关资源
    最近更新 更多