简体   繁体   English

在同一网络的其他系统中无法访问发布的asp.net网站

[英]Published asp.net website not accessible in other system in same network

I have developed a asp.net website and published in a server.Whereas everything works perfectly in that server if i give browser from that IIS manager, and in server ( published system ) everything works perfect.But i need to access the same published application also in the other systems also ( which are connected in same network ). 我已经开发了一个asp.net网站并发布在服务器上,但是如果我从IIS管理器提供浏览器,那么一切都可以在该服务器上正常运行,而在服务器(已发布的系统)上则可以正常运行,但是我需要访问同一发布的应用程序在其他系统中(也连接在同一网络中)。 How is it possible..?? 这怎么可能..??

NOTE: 1. Used IIS 7. 注意: 1.使用IIS 7。

When tried to connect from another system from same networ getting error as follows 当尝试从同一网络从另一个系统连接时出现如下错误

The socket connection to 172.31.7.243 failed. 到172.31.7.243的套接字连接失败。 ErrorCode: 10060.A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.31.7.243:90 错误代码:10060.连接尝试失败,因为一段时间后连接方未正确响应,或者由于连接的主机未能响应172.31.7.243:90而建立连接失败

If Your are accessing Your application on Hosted Server like this then just replace localhost with ipaddress of hosted server to access it over the network 如果您正在这样访问托管服务器上的应用程序,则只需将localhost替换为托管服务器的ipaddress即可通过网络访问它

[localhost]/MyProjectName

then like this: 然后像这样:

[IPaddress_of_HostedServer]/MyProjectName

It is possible that the HTTP traffic on port 80 incoming from the local network is blocked. 从本地网络传入的端口80上的HTTP通信可能被阻止。

You should check if ISA server is installed on your server and if so if HTTP traffic on port 80 is allowed or not. 您应该检查服务器上是否安装了ISA服务器,以及是否允许端口80上的HTTP通信。 If it's blocked try to allow it for the local network ip range. 如果被阻止,请尝试将其用于本地网络ip范围。

Edit: Or port 90 as your error code states, but why are you working on port 90? 编辑:或者您的错误代码指出端口90,但是为什么要在端口90上工作?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM