Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
658 views
in Technique[技术] by (71.8m points)

hosting - Site refused to connect on IIS Publish

I am publishing an ASP.Net Core 3.0 application in IIS. My publish profile looks like publish profile

This is how my web.config file is in publish folder

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath=".Application.exe" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" hostingModel="inprocess" />
    </system.webServer>
  </location>
</configuration>

In IIS, I created an Application Pool, set its CLR Version to No Managed Code, created a site with newly added Application pool and pointed towards folder in which file was published . I have hosting bundled installed hosting bundle

When I browse application through IIS, error

Url is redirected to login page but error is shown. Thanks in advance !!

Edit 1: On viewing Asp.Net Core Diagnostics from Jexus Manager

view in jexus manager

Edit 2: On viewing Asp.Net Core Diagnostics from Jexus Manager (IIS) enter image description here

Edit 3:Binding diagnostics: enter image description here

question from:https://stackoverflow.com/questions/65661472/site-refused-to-connect-on-iis-publish

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...