通过Visual Studio在本地运行时无法连接到ASP.NET站点

如何解决通过Visual Studio在本地运行时无法连接到ASP.NET站点

我有一个ASP.NET Web应用程序。它有一个CMS Web应用程序,我想在IIS(通过Visual Studio)上运行。它的.csproj文件将项目URL列为https://localhost:27251/

我在IIS上创建了一个站点,该站点将物理路径设置为CMS根文件夹。其中包含Default.aspxweb.config等。

由于使用SSL,我将证书分配给了IIS中的站点。

当我在Visual Studio中运行应用程序时,Chrome窗口会在https://localhost:27251/处打开,但会加载以下内容:

enter image description here

我该如何解决这个问题?

这是我的网站绑定:

enter image description here

我使用Jexus Manager生成了绑定报告。这是输出:

IMPORTANT: This report might contain confidential information. Mask such before sharing to others.
-----
System Time: 11/8/2020 11:34:45 AM
Processor Architecture: AMD64
OS: Microsoft Windows NT 10.0.14393.0
Server Type: IIS Express
-----
This machine has 2 IP addresses to take external traffic.
* 172.16.1.5.
* 198.19.175.62.
-----
[W3SVC/2]
ServerComment  : CMS
ServerAutoStart: True
ServerState    : Stopped

BINDING: https *:443:cms.jobzone.local
Jexus Manager is not running as administrator,so TCP reserved port range is not verified. Please run "netsh int ipv4 show excludedportrange protocol=tcp" at command prompt to see if any conflict exists.
URL reservation https://cms.jobzone.local:443/ is missing. So this binding only works if IIS Express runs as administrator.
This site can take external traffic if,* TCP port 443 must be opened on Windows Firewall (or any other installed firewall products).
 * Requests from web browsers must be routed to following end points on this machine,* 172.16.1.5:443.
   * 198.19.175.62:443.
This site can take local traffic at 127.0.0.1:443.
This site can take local traffic at [::1]:443.
 * Web browsers should use URL https://cms.jobzone.local:443. Requests must have Host header of "cms.jobzone.local".
   Start DNS query for cms.jobzone.local.
DNS query failed: No such host is known..
Please review the host name cms.jobzone.local.
Binding Diagnostics does not verify certificates and other SSL/TLS related settings.
Please run SSL Diagnostics at server level to analyze SSL/TLS configuration. More information can be found at https://docs.jexusmanager.com/tutorials/ssl-diagnostics.html.


当我在IIS中选择Edit Bindings时,我看到似乎没有配置的绑定。这是正确的吗?

enter image description here

可能的进展

我已将127.0.0.1 cms.jobzone.local添加到我的hosts文件中。现在,当我在浏览器中进入https://cms.jobzone.local时,将获得以下页面:

enter image description here

这是我的web.config

a<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <!-- Content staging BEGIN -->
    <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration,Microsoft.Web.Services3,Version=3.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" />
    <!-- Content staging END -->
    <!-- FiftyOne BEGIN -->
    <sectionGroup name="fiftyOne">
      <section name="log" type="FiftyOne.Foundation.Mobile.Configuration.LogSection,FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication" />
      <section name="redirect" type="FiftyOne.Foundation.Mobile.Configuration.RedirectSection,FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication" />
      <section name="detection" type="FiftyOne.Foundation.Mobile.Detection.Configuration.DetectionSection,FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication" />
    </sectionGroup>
    <!-- FiftyOne END -->
    
    <!-- For more information on Entity Framework configuration,visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection,EntityFramework,Version=6.0.0.0,PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
    <section name="Unity.WebForms" type="Unity.WebForms.Configuration.UnityWebFormsConfiguration,Unity.WebForms" allowLocation="false" allowDefinition="Everywhere" />
  </configSections>
  <!-- Without this ignore list Unity.WebForms attempts to "build up" controls for CMS page properties unnecessarily,causing issues when it finds controls with ambiguous constructors -->
  <Unity.WebForms>
    <ignoreNamspaces>
      <namespace prefix="CMS" />
    </ignoreNamspaces>
  </Unity.WebForms>
  <appSettings>
    <add key="CMSProgrammingLanguage" value="C#" />
    <add key="WS.webservice" value="http://localhost/WebService/webservice.asmx" />
    <add key="CMSTrialKey" value="CX09-20160808-FWVtCO" />
    <add key="ChartImageHandler" value="storage=session;timeout=20;" />
    <add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
    <add key="CMSApplicationGuid" value="fbeca0bd-d5b7-4dfd-a832-e15a8ac03aa2" />
    <add key="CMSApplicationName" value="JobsJet CMS" />
    <!-- Note: Changing the 'CMSHashStringSalt' value may prevent macros from resolving correctly,and break dialog links and images on your website. 
    To fix these issues,you need to globally re-sign macros in 'System -> Macros -> Signatures' or manually re-save the affected content. -->
    <add key="CMSHashStringSalt" value="863d6a7f-b2ef-4182-accd-1d47bd0a8b94" />
    <add key="CMSDebugMacros" value="true" />
    <add key="CMSDefaultUICulture" value="en-GB" />
    <add key="CMSStagingServerName" value="Dev" />
    <add key="JobzoneURL" value="https://web.jobsjet.local" />
    <add key="KenticoSiteName" value="JobsJet" />
    <add key="KenticoSiteId" value="1" />
    <!-- Required now due to addition of OWIN packages added to JG DataObjects assembly -->
    <add key="owin:AutomaticAppStartup" value="false" />
  </appSettings>
  <log4net debug="true">
    <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
      <file value="Logs//Log_" />
      <appendToFile value="true" />
      <rollingStyle value="Date" />
      <datePattern value="dd-MM-yyyy'.txt'" />
      <maxSizeRollBackups value="10" />
      <maximumFileSize value="10MB" />
      <staticLogFileName value="false" />
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date [%thread] %-5level %logger – %message%newline" />
      </layout>
    </appender>
    <root>
      <level value="ALL" />
      <appender-ref ref="RollingLogFileAppender" />
    </root>
  </log4net>
  <connectionStrings>
    <!--<add name="CMSConnectionString" connectionString="Data Source=BIZPC702\SQLEXPRESS2014;Initial Catalog=jobzone;Integrated Security=False;Persist Security Info=False;User ID=jobzone_user;Password=jobzone99;Connect Timeout=60;Encrypt=False;Current Language=English;" />-->
    <add name="CMSConnectionString" connectionString="Data Source=BIZSQL007;Initial Catalog=jobzone;Integrated Security=False;Persist Security Info=False;User ID=jobzone_user;Password=jobzone99;Connect Timeout=60;Encrypt=False;Current Language=English;" />
    <add name="Entities" connectionString="metadata=res://*/DataModels.JobsJetDataModel.csdl|res://*/DataModels.JobsJetDataModel.ssdl|res://*/DataModels.JobsJetDataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=BIZSQL007;initial catalog=jobzone;persist security info=True;user id=jobzone_user;password=jobzone99;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>
  <!--
    For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

    The following attributes can be set on the <httpRuntime> tag.
      <system.Web>
        <httpRuntime targetFramework="4.6.1" />
      </system.Web>
  -->
  <system.web>
    <pages validateRequest="false" clientIDMode="AutoID">
      <controls>
        <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
        <add tagPrefix="cms" namespace="CMS.UIControls" assembly="CMS.UIControls" />
        <add tagPrefix="cms" namespace="CMS.FormEngine" assembly="CMS.FormEngine" />
        <add tagPrefix="cms" namespace="CMS.PortalEngine.Web.UI" assembly="CMS.PortalEngine.Web.UI" />
        <add tagPrefix="cms" namespace="CMS.DocumentEngine.Web.UI" assembly="CMS.DocumentEngine.Web.UI" />
        <add tagPrefix="cms" namespace="CMS.FormEngine.Web.UI" assembly="CMS.FormEngine.Web.UI" />
        <add tagPrefix="cms" namespace="CMS.OnlineForms.Web.UI" assembly="CMS.OnlineForms.Web.UI" />
        <add tagPrefix="cms" namespace="CMS.Base.Web.UI" assembly="CMS.Base.Web.UI" />
        <add tagPrefix="cms" namespace="CMS.TranslationServices.Web.UI" assembly="CMS.TranslationServices.Web.UI" />
        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization,Version=4.0.0.0,PublicKeyToken=31bf3856ad364e35" />
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions,PublicKeyToken=31bf3856ad364e35" />
      </controls>
      <namespaces>
        <add namespace="CMS.Helpers" />
        <add namespace="CMS.Base.Web.UI" />
      </namespaces>
    </pages>
    <customErrors mode="RemoteOnly">
      <error statusCode="500" redirect="~/CMSMessages/Error.aspx" />
    </customErrors>
    <authentication mode="Forms">
      <forms loginUrl="CMSPages/logon.aspx" defaultUrl="Default.aspx" name=".ASPXFORMSAUTH" timeout="60000" slidingExpiration="true" />
    </authentication>
    <httpRuntime maxRequestLength="2097151" waitChangeNotification="1" maxWaitChangeNotification="3600" requestValidationMode="2.0" maxUrlLength="1000" targetFramework="4.5" />
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US" />
    <membership defaultProvider="CMSProvider" userIsOnlineTimeWindow="30">
      <providers>
        <clear />
        <add name="CMSProvider" type="CMS.MembershipProvider.CMSMembershipProvider" connectionStringName="CMSConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" />
      </providers>
    </membership>
    <roleManager defaultProvider="CMSRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All">
      <providers>
        <clear />
        <add name="CMSRoleProvider" type="CMS.MembershipProvider.CMSRoleProvider" connectionStringName="CMSConnectionString" applicationName="SampleApplication" writeExceptionsToEventLog="false" />
      </providers>
    </roleManager>
    <httpHandlers>
      <add path="ChartImg.axd" verb="*" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,System.Web.DataVisualization,PublicKeyToken=31bf3856ad364e35" validate="false" />
    </httpHandlers>
    <httpModules>
      <add name="XHtmlModule" type="CMS.OutputFilter.OutputFilterModule,CMS.OutputFilter" />
      <add name="CMSApplicationModule" type="CMS.Base.ApplicationModule,CMS.Base" />
    </httpModules>
    <xhtmlConformance mode="Strict" />
    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
    <compilation debug="true" numRecompilesBeforeAppRestart="100" targetFramework="4.6.1">
      <assemblies>
        <add assembly="SMDiagnostics,PublicKeyToken=B77A5C561934E089" />
        <add assembly="Microsoft.Transactions.Bridge,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Management,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Design,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Security,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Configuration.Install,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.DirectoryServices,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Configuration,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Data,PublicKeyToken=B77A5C561934E089" />
        <add assembly="System,PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Xml,PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Drawing,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Web.Extensions.Design,PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Deployment,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Transactions,PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.RegularExpressions,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Data.Linq,PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Messaging,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.IdentityModel.Selectors,PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.ServiceProcess,PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Web.Routing,PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.DataVisualization,PublicKeyToken=31BF3856AD364E35" />
        <add assembly="WindowsBase,PublicKeyToken=31bf3856ad364e35" />
        <add assembly="System.Windows.Forms,PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.Net.Http,PublicKeyToken=b03f5f7f11d50a3a" />
      </assemblies>
      <!-- Different programming languages BEGIN -->
      <!--
      <codeSubDirectories>
        <add directoryName="CSCode"></add>
        <add directoryName="VBCode"></add>
      </codeSubDirectories>
      -->
      <!-- Different programming languages END -->
    </compilation>
    <httpCookies httpOnlyCookies="true" />
  </system.web>
  <!-- Windows authentication BEGIN -->
  <!--
  <location path="">
    <system.web>
        <authorization>
          <deny users="?"/>
        </authorization>
    </system.web>
  </location>
  -->
  <!-- Windows authentication END -->
  <location path="cms">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>
  <!-- WebDAV location BEGIN -->
  <location path="cms/files">
    <system.web>
      <httpHandlers>
        <clear />
        <add verb="*" path="*" type="CMS.WebDAV.WebDAVHandler,CMS.WebDAV" />
      </httpHandlers>
      <httpRuntime executionTimeout="2400" maxRequestLength="2097151" />
    </system.web>
    <system.webServer>
      <handlers>
        <clear />
        <add name="CMSWebDAVHandler" path="*" verb="*" type="CMS.WebDAV.WebDAVHandler,CMS.WebDAV" />
      </handlers>
      <security>
        <requestFiltering>
          <requestLimits maxAllowedContentLength="2147483648" />
        </requestFiltering>
      </security>
    </system.webServer>
  </location>
  <!-- WebDAV location END -->
  <!-- Content staging BEGIN -->
  <microsoft.web.services3>
    <security>
      <securityTokenManager>
        <add type="CMS.Synchronization.WSE3.WebServiceAuthorization" namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" localName="UsernameToken" />
      </securityTokenManager>
      <x509 allowTestRoot="true" verifyTrust="true" />
    </security>
    <policy fileName="wse3policy.config" />
    <diagnostics>
      <trace enabled="false" input="InputTrace.webinfo" output="OutputTrace.webinfo" />
    </diagnostics>
  </microsoft.web.services3>
  <!-- Content staging END -->
  <!-- FiftyOne BEGIN -->
  <fiftyOne>
    <log logFile="~/App_Data/CMSModules/DeviceProfiles/logFiftyOne.txt" logLevel="Warn" />
    <detection binaryFilePath="~/App_Data/CMSModules/DeviceProfiles/51Degrees.dat" />
  </fiftyOne>
  <!-- FiftyOne END -->
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="true">
          <match url="(.*)" />
          <conditions logicalGrouping="MatchAny">
            <add input="{SERVER_PORT_SECURE}" pattern="^0$" />
          </conditions>
          <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" />
        </rule>
      </rules>
    </rewrite>
    <modules>
      <remove name="WebDAVModule" />
      <remove name="XHtmlModule" />
      <remove name="CMSApplicationModule" />
      <add name="XHtmlModule" type="CMS.OutputFilter.OutputFilterModule,CMS.OutputFilter" />
      <add name="CMSApplicationModule" preCondition="managedHandler" type="CMS.Base.ApplicationModule,CMS.Base" />
    </modules>
    <handlers>
      <remove name="WebDAV" />
      <remove name="ChartImageHandler" />
      <add name="ChartImageHandler" preCondition="integratedMode" verb="*" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,PublicKeyToken=31bf3856ad364e35" />
    </handlers>
    <staticContent>
      <remove fileExtension=".woff" />
      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
      <remove fileExtension=".svg" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
      <remove fileExtension=".nupkg" />
      <mimeMap fileExtension=".nupkg" mimeType="application/zip,application/octet-stream" />
    </staticContent>
    <validation validateIntegratedModeConfiguration="false" />
    <security>
      <requestFiltering>
        <!-- Disable direct access to these files which are used only internally by CMS application -->
        <denyUrlSequences>
          <add sequence="/CMSTemplates" />
          <add sequence="/CMSPages/PortalTemplate.aspx" />
        </denyUrlSequences>
      </requestFiltering>
    </security>
  </system.webServer>
  <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    <bindings>
      <basicHttpBinding>
        <!-- SalesForce BEGIN -->
        <binding name="SalesForceBinding" transferMode="Buffered" maxReceivedMessageSize="131072">
          <security mode="Transport">
            <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
        <!-- SalesForce END -->
      </basicHttpBinding>
    </bindings>
    <client>
      <!-- SalesForce BEGIN -->
      <endpoint address="https://login.salesforce.com/services/Soap/u/23.0" binding="basicHttpBinding" bindingConfiguration="SalesForceBinding" contract="WebServiceClient.Soap" name="SalesForceClient" />
      <!-- SalesForce END -->
    </client>
  </system.serviceModel>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31BF3856AD364E35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
      <probing privatePath="CMSDependencies\Newtonsoft.Json.6.0.0.0" />
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="AutoMapper" publicKeyToken="be96cd2c38ef1005" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.1.0.0" newVersion="6.1.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="X.PagedList" publicKeyToken="abbb863e9397c5e1" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.3.0.21888" newVersion="5.3.0.21888" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <location path="CMSModules/Settings/Pages/Keys.aspx">
    <system.web>
      <httpRuntime executionTimeout="2400" maxRequestLength="2097151" />
    </system.web>
    <system.webServer>
      <security>
        <requestFiltering>
          <requestLimits maxAllowedContentLength="2147483648" />
        </requestFiltering>
      </security>
    </system.webServer>
  </location>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory,EntityFramework">
      <parameters>
        <parameter value="v13.0" />
      </parameters>
    </defaultConnectionFactory>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices,EntityFramework.SqlServer" />
    </providers>
  </entityFramework>
</configuration>

安装IIS URL Rewrite module之后,我现在收到此错误,不确定如何克服它:

enter image description here

解决方法

删除.vs文件夹(如果存在)。转到Properties。在Web标签中,点击Create Virtual Directory按钮

,

名为ERR_CONNECTION_RESET的问题是当您尝试访问的站点无法与目标站点建立连接时弹出的问题。麻烦是在您不知情的情况下开始的,因为它是由第三方程序更改的,但也可能是由于防病毒或其他第三方防火墙的影响。我们提供了一些方法来纠正此错误,因此,请一次接一个地尝试直到您将其解决为止,但是如果需要详细的解决方案,请访问以下网站:ERR_CONNECTION_RESET

,

安装IIS URL重写模块为我解决了此问题。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-
参考1 参考2 解决方案 # 点击安装源 协议选择 http:// 路径填写 mirrors.aliyun.com/centos/8.3.2011/BaseOS/x86_64/os URL类型 软件库URL 其他路径 # 版本 7 mirrors.aliyun.com/centos/7/os/x86
报错1 [root@slave1 data_mocker]# kafka-console-consumer.sh --bootstrap-server slave1:9092 --topic topic_db [2023-12-19 18:31:12,770] WARN [Consumer clie
错误1 # 重写数据 hive (edu)&gt; insert overwrite table dwd_trade_cart_add_inc &gt; select data.id, &gt; data.user_id, &gt; data.course_id, &gt; date_format(
错误1 hive (edu)&gt; insert into huanhuan values(1,&#39;haoge&#39;); Query ID = root_20240110071417_fe1517ad-3607-41f4-bdcf-d00b98ac443e Total jobs = 1
报错1:执行到如下就不执行了,没有显示Successfully registered new MBean. [root@slave1 bin]# /usr/local/software/flume-1.9.0/bin/flume-ng agent -n a1 -c /usr/local/softwa
虚拟及没有启动任何服务器查看jps会显示jps,如果没有显示任何东西 [root@slave2 ~]# jps 9647 Jps 解决方案 # 进入/tmp查看 [root@slave1 dfs]# cd /tmp [root@slave1 tmp]# ll 总用量 48 drwxr-xr-x. 2
报错1 hive&gt; show databases; OK Failed with exception java.io.IOException:java.lang.RuntimeException: Error in configuring object Time taken: 0.474 se
报错1 [root@localhost ~]# vim -bash: vim: 未找到命令 安装vim yum -y install vim* # 查看是否安装成功 [root@hadoop01 hadoop]# rpm -qa |grep vim vim-X11-7.4.629-8.el7_9.x
修改hadoop配置 vi /usr/local/software/hadoop-2.9.2/etc/hadoop/yarn-site.xml # 添加如下 &lt;configuration&gt; &lt;property&gt; &lt;name&gt;yarn.nodemanager.res