自己网站在windows server2008下安装的ngnix,然后配置php,网站访问流量并不大,但是经常出现503问题。经过查看ngnix服务器错误日志,发现:

    

(10061: No connection could be made because the target machine actively refused it)

  这个问题是因为找不到本地ip,阿里云服务器有个内网,必须把localhost和127.0.0.1配置到内网ip即可

   首先查看内网ip:

   用这个命令:

ipconfig  /all

   然后找到内网ip,配置到C:windows/system32/drives/etc/hosts文件修改即可!

相关文章:

  • 2021-09-06
  • 2022-12-23
  • 2021-12-05
  • 2021-07-30
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2021-09-15
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-08-12
  • 2022-02-07
  • 2021-07-17
相关资源
相似解决方案