我在做什么:
删除applicationhost.config
位于Documents\IISExpress\config
,不会更改错误消息.(还有一个IISExpress
文件夹program files
和program files (x86)
.)
我注意到的东西,我不知道这是不是一个问题:
找不到引用文件'lib/jquery-validation/jquery.validate.js'.
我有一个带有rawcap的转储,但我没有注意到那里.有些东西在那里:
"Framework":{"FrameworkName":"DNXCore,Version = v5.0","FriendlyName":"DNX Core 5.0","ShortName":"dnxcore50","RedistListPath":null}
我没有注意到问题,但我有网络数据,如果这可以帮助找出我无法连接到Web服务器的原因.我RST,ACK
马上得到一个所以我猜测端口是关闭的,无论这个Web服务器是什么,都没有设置.
有关此问题的更多信息:来自/ trace:错误的800700c1错误
我试过了:
我从另一个系统复制了我的解决方案文件并尝试在我的机器上运行它:为此,我已经转到项目文件夹并删除了以前的解决方案文件并复制了新的解决方案文件.
现在,它开始给我错误.因此,我从这里得到一个解决方案:如何在尝试连接到运行IISExpress的localhost时解决ERR_CONNECTION_REFUSED - 错误502(无法从Visual Studio调试)?
根据它,我将端口号从1049更改为1052.它已加载,其中一个页面被加载.但是当我输入所需的登录凭据时,它再次重定向到旧端口,如下所示:
http://localhost:1049/Home/SearchFlight
Run Code Online (Sandbox Code Playgroud)
而错误是:
This site can’t be reached
localhost refused to connect.
Search Google for localhost 1049 Home Search Flight
ERR_CONNECTION_REFUSED
Run Code Online (Sandbox Code Playgroud)
现在,我不知道该怎么做.我已将端口号更改为1052但仍指向1049.我现在该怎么办?
当我以http:// localhost:26049访问该站点时,该站点运行正常.如果我尝试使用https:// localhost:44319访问该站点,则会找不到页面.
这是我的项目属性:
这是来自我的IISExpress应用程序配置:
<site name="MVC Authentication" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="F:\Projects\MySite\Test" />
</application>
<bindings>
<binding protocol="https" bindingInformation="*:44319:localhost" />
<binding protocol="http" bindingInformation="*:26049:localhost" />
</bindings>
</site>
Run Code Online (Sandbox Code Playgroud) 我经常在rails服务器日志中收到此错误:
Invalid request: Invalid HTTP format, parsing fails.
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/thin-1.6.1/lib/thin/request.rb:84:in `execute'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/thin-1.6.1/lib/thin/request.rb:84:in `parse'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/faye-websocket-0.7.2/lib/faye/adapters/thin.rb:44:in `receive_data'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:16:in `run'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands/server.rb:84:in `start'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:76:in `block in <top (required)>'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:71:in `tap'
/home/budkin/gamestown/vendor/cache/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:71:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Run Code Online (Sandbox Code Playgroud)
一切正常,但错误只是令人讨厌
是的,这是开启的 thin
所以,这是我第一次深入 ASP.NET。我以前用 C# (Unity) 编程过,但从未制作过 ASP.NET 应用程序。问题是,我似乎无法让 SSL 工作!当我使用这些步骤创建新项目时,出现以下错误:
但是,当我转到“属性”>“调试”并取消选中“启用 SSL”时,它工作得非常好。我也尝试过使用 Microsoft Edge,但它给出了相同的错误。这是我尝试解决此问题的方法:
applicationhost.config
中的文件.vs
(源).vs
文件夹并运行命令(更多信息请点击此处)netsh http show iplisten
- 未列出任何内容(来源)localhost
(来源)正如你所看到的,我已经尝试了我想到的一切。有人可以解释一下为什么会发生这种情况吗?重申一下,当我不更改按照这些步骤获得的任何默认代码时,就会发生这种情况,因此它不可能是超时或其他原因。
我将IIS Express 10.0
( …
我经历了整个过程
http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx
几周前,让https在我所有IP的端口443上工作.几天前机器重新启动了,我今天再次尝试访问该网站(通过VS2010启动,IIS快递托盘显示网站运行在80和443).http工作正常,但https只是说"Internet Explorer无法显示页面".我可以看到netstat系统进程正在侦听端口443,但我在浏览器中没有得到任何东西.Fiddler展示了一些隧道活动,但没有其他任何东西.我应该检查什么才能恢复运行?上面博客上的所有步骤都是我的伏都教,所以现在它不起作用我真的不知道从哪里开始.
-jt
我有一个网站.它有一个SSL证书,我没有遇到任何问题,直到Chrome和Firefox突然不接受我的localhost自签名证书.
我看过并发现了很多关于这个问题的问题,但一直无法修复.是否有解决此问题的分步指南?
我已经按照这个示例/sf/answers/1597319741/但我的证书已经有一个正确名称的友好名称.
我今天早上在Web应用程序项目中更改了OAuth/Owin设置和Azure发布设置,但很快我们决定部署到特定的IIS Azure VM(现在可以在我们的本地域中看到).所有代码/设置更改都已恢复.
有一次,我还更改了drivers\etc\hosts
文件以允许Microsoft OAuth的虚拟名称,但已被还原.
笔记:
s
,即使用SSL).我的Web应用程序中可能有什么损坏导致此问题?我现在已经摸不着头几个小时了,我们没有尝试任何工作.该应用程序根本无法在任何浏览器中启动.
Project Web Settings选项卡:
asp.net-mvc https internet-explorer google-chrome asp.net-identity