> 技术文档 > Windows开启IIS后依然出现http error 503.the service is unavailable_iis503

Windows开启IIS后依然出现http error 503.the service is unavailable_iis503


问题背景

已启用IIS服务,配置步骤可以参考Windows10 IIS Web服务器安装配置

问题描述

Windows开启IIS后依然出现http error 503.the service is unavailable_iis503
在这一步浏览网站时,并没有出现默认首页,而是 http error 503 the service is unavailable

问题解决

参考 成功解决http error 503.the service is unavailable错误

  1. 应用程序池-启动-高级设置
    Windows开启IIS后依然出现http error 503.the service is unavailable_iis503
  2. 进程模型-标识-选择NetworkService
    Windows开启IIS后依然出现http error 503.the service is unavailable_iis503

其他

添加新网站,选择物理路径后,端口自定义。用该新网站访问本地目录,在移动端可能无法打开,应该是防火墙不允许访问这个端口。

Windows开启IIS后依然出现http error 503.the service is unavailable_iis503

解决:

  1. 设置防火墙绕过这个端口,没试过,理论应该可以
  2. 简单方式,直接用默认 80 端口,移动端可以直接访问