TypechoJoeTheme

香草物语

统计
登录
用户名
密码
/
注册
用户名
邮箱
输入密码
确认密码

DotNet Core部署iis提示The application process started but failed to listen on the configured port

Laughing博主
2017-11-26
/
1 评论
/
1,420 阅读
/
135 个字
/
百度已收录
11/26
本文最后更新于2024年03月21日,已超过38天没有更新。如果文章内容或图片资源失效,请留言反馈,我会及时处理,谢谢!

今天将一个DotNetCore网站部署到IIS的时候,系统提示

The application process started but failed to listen on the configured port

首先提示这个错误的,肯定是已经安装了Windows Server Hosting,如果没有安装Windows Server Hosting 的话,报错的信息不是这个,但是既然安装了Windows Server Hosting,为什么还会提示这个错误呢,其实导致这个错误的原因非常简单,

  1. 就是安装完Windows Server Hosting没有重启IIS.
  2. 重启IIS时,只重启了当前网站。所以解决办法也非常简单

安装完Windows Server Hosting后一定要重启IIS,大家可以使用 iisreset命令重启

asp.net coreWindows Server Hosting
朗读
赞(0)
赞赏
感谢您的支持,我会继续努力哒!
评论 (1)
  1. 小吃技术 闲逛
    Windows 7 · Google Chrome

    一天不来访,浑身上下痒!

    2017-11-27 回复
  2. 诸葛一雄 闲逛
    Linux · Google Chrome

    能用吗?谢谢分享

    2018-10-31 回复
  3. CiXY 闲逛
    MacOS · Safari

    谢谢啦艹

    2018-06-29 回复