Xampp 本地主机错误\u连接\u被拒绝

Xampp 本地主机错误\u连接\u被拒绝,xampp,connection,localhost,Xampp,Connection,Localhost,我的xampp或localhost出现了一些问题,当我尝试访问localhost时,它显示“网页无法访问错误连接被拒绝” 我使用的是xampp,在Windows10中,apache和mysql是开放的 我在另一个论坛上看到,chrome正在阻止本地主机url,所以我安装了firefox,但仍然无法正常工作 *我在cmd学习 hostname=barreto 因此,在chrome和firefox中都尝试了barreto/并且错误连接不断显示 下面是来自apache的error.log 我需要知道

我的xampp或localhost出现了一些问题,当我尝试访问localhost时,它显示“网页无法访问错误连接被拒绝”

我使用的是xampp,在Windows10中,apache和mysql是开放的

我在另一个论坛上看到,chrome正在阻止本地主机url,所以我安装了firefox,但仍然无法正常工作

*我在cmd学习

hostname=barreto
因此,在chrome和firefox中都尝试了barreto/并且错误连接不断显示

下面是来自apache的error.log
我需要知道发生了什么或者我能做什么。谢谢

请求无法通过http服务器。听起来您的http服务器根本没有监听环回接口上的端口80。这可能是因为您显然已经配置了ssl(为什么,在localhost上?),所以您可能在没有意识到这一点的情况下从端口80切换到post 443。顺便说一句:chromium当然不会阻止对localhost的访问。我建议您关闭ssl/https,重新启动http服务器,然后重试。监视http服务器访问日志文件(不是错误日志文件)以查看请求是否通过;85端口?85? 你为什么把它改成85?在这种情况下,您需要使用
http://localhost:85/
。在我看来没有多大意义。。。我建议您将其更改回端口80,因为这是http的标准,请尝试使用
http://localhost
。请求无法通过http服务器。听起来您的http服务器根本没有监听环回接口上的端口80。这可能是因为您显然已经配置了ssl(为什么,在localhost上?),所以您可能在没有意识到这一点的情况下从端口80切换到post 443。顺便说一句:chromium当然不会阻止对localhost的访问。我建议您关闭ssl/https,重新启动http服务器,然后重试。监视http服务器访问日志文件(不是错误日志文件)以查看请求是否通过;85端口?85? 你为什么把它改成85?在这种情况下,您需要使用
http://localhost:85/
。在我看来没有多大意义。。。我建议您将其更改回端口80,因为这是http的标准,请尝试使用
http://localhost
[Tue Dec 01 20:00:00.027983 2015] [ssl:warn] [pid 5708:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Tue Dec 01 20:00:00.159553 2015] [ssl:warn] [pid 5708:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 01 20:00:00.344435 2015] [mpm_winnt:notice] [pid 5708:tid 516] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.14 configured -- resuming normal operations [Tue Dec 01 20:00:00.344435 2015] [mpm_winnt:notice] [pid 5708:tid 516] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13 
[Tue Dec 01 20:00:00.344435 2015] [core:notice] [pid 5708:tid 516] AH00094: Command line: 'C:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
[Tue Dec 01 20:00:00.344435 2015] [mpm_winnt:notice] [pid 5708:tid 516] AH00418: Parent: Created child process 8324
[Tue Dec 01 20:00:00.866681 2015] [ssl:warn] [pid 8324:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 01 20:00:01.027204 2015] [ssl:warn] [pid 8324:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 01 20:00:01.074079 2015] [mpm_winnt:notice] [pid 8324:tid 540] AH00354: Child: Starting 150 worker threads.
[Tue Dec 01 20:24:29.888395 2015] [ssl:warn] [pid 8076:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 01 20:24:29.945819 2015] [core:warn] [pid 8076:tid 520] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Dec 01 20:24:30.015330 2015] [ssl:warn] [pid 8076:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 01 20:24:30.046593 2015] [mpm_winnt:notice] [pid 8076:tid 520] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.14 configured -- resuming normal operations
[Tue Dec 01 20:24:30.046593 2015] [mpm_winnt:notice] [pid 8076:tid 520] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Tue Dec 01 20:24:30.046593 2015] [core:notice] [pid 8076:tid 520] AH00094: Command line: 'c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
[Tue Dec 01 20:24:30.046593 2015] [mpm_winnt:notice] [pid 8076:tid 520] AH00418: Parent: Created child process 8932
[Tue Dec 01 20:24:30.531601 2015] [ssl:warn] [pid 8932:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 01 20:24:30.663141 2015] [ssl:warn] [pid 8932:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 01 20:24:30.694396 2015] [mpm_winnt:notice] [pid 8932:tid 568] AH00354: Child: Starting 150 worker threads.