如何修复xampp虚拟主机中的“ ERR_CONNECTION_TIMED_OUT”异常

时间:2018-10-23 09:38:54

标签: laravel xampp virtualhost

使用xampp虚拟主机在VPS上托管站点...并且已准备就绪,可以通过防火墙进行公共访问...站点运行正常...但有时无法运行...显示以下错误。

"This site can’t be reached www.xxx.com took too long to respond.

在Google中搜索xxx ERR_CONNECTION_TIMED_OUT“

为什么会这样?这是我的虚拟主机代码

ServerName xxx.com
ServerAlias www.xxx.com

DocumentRoot "C:\xampp\htdocs\xxx.com\public"
ErrorLog "logs/xxx.com-error.log"
CustomLog "logs/xxx.com-access.log" common
<Directory "C:\xampp\htdocs\xxx.com">
    Require all granted
Order allow,deny
Allow from all
  </Directory>

0 个答案:

没有答案