.netcore 部署IIS Http Error 502.5

查看系统日志信息:

Application '/LM/W3SVC/3/ROOT' with physical root 'D:\xxx\' failed to start process with commandline 'dotnet .\xxx.Web.dll' with multiple retries. Failed to bind to port '23290'. First 30KB characters of captured stdout and stderr logs from multiple retries:

解决:

<aspNetCore processPath="dotnet." arguments=".\Gateway.Web.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />

改为:

<aspNetCore processPath="C:\Program Files\dotnet\dotnet.exe" arguments=".\Gateway.Web.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />

posted @ 2020-09-29 16:48  软件开发-汪七北  阅读(1532)  评论(0编辑  收藏  举报