简体   繁体   English

无法从远程计算机查看我的IIS托管站点,但IIS页面已打开

[英]unable to view my IIS hosted site from remote machine but IIS page open

The IP of the machine is suppose 104.68.125.105 机器的IP为104.68.125.105

In this machine, I configured the IIS server and successfully opened my web app http://merchantcalc/content/lateFine.aspx from inside this machine. 在这台机器上,我配置了IIS服务器,并从这台机器内部成功打开了Web应用程序http://merchantcalc/content/lateFine.aspx This app has default port ie 80 该应用程序具有默认端口,即80

But when I tried to open the same web app from remote computer, via url http://104.68.125.105/merchantcalc/content/lateFine.aspx 但是,当我尝试通过url http://104.68.125.105/merchantcalc/content/lateFine.aspx从远程计算机打开同一Web应用程序时

I am getting error as :: 我收到错误消息:::

Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

when I open http://103.69.125.101/ from remote machine, its showing the IIS page. 当我从远程计算机打开http://103.69.125.101/时,其显示IIS页面。

But why can't I open the web apps? 但是为什么我不能打开Web应用程序? What configuration should I make in IIS to open my web app ? 我应该在IIS中进行什么配置才能打开Web应用程序?

As Mark said, if you can access http://merchantcalc/content/lateFine.aspx , then you should try http://103.xx.xxx.xxx/content/lateFine.aspx . 正如Mark所说,如果您可以访问http://merchantcalc/content/lateFine.aspx ,那么您应该尝试http://103.xx.xxx.xxx/content/lateFine.aspx

Did you host the web site under another website or you just publish the web app as a virtual application under your Default web site? 您是否将该网站托管在另一个网站下,或者只是将该网站应用发布为默认网站下的虚拟应用程序? It seems that when you access the website, http.sys is routing the request to Default Web Site. 似乎当您访问该网站时,http.sys会将请求路由到“默认网站”。 So if this is not the right site that should be routed. 因此,如果这不是应该路由的正确站点。 You could try to disable Default Web Site and bind your ip address to your web app. 您可以尝试禁用默认网站并将IP地址绑定到您的Web应用程序。

Since there are various kinds of 404 error. 由于存在各种404错误。 You could check the sub-status code by enabling IIS detailed error or failed request tracing. 您可以通过启用IIS详细错误或失败的请求跟踪来检查子状态代码。

PS: Expose your public IP address is not recommended. PS:不建议公开您的公共IP地址。

If you could provide more information, we may get to know how to fix this 404 error. 如果您可以提供更多信息,我们可能会知道如何解决此404错误。

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

相关问题 Visual Studio和远程IIS站点:在本地计算机IIS中工作后无法访问远程IIS - Visual Studio and Remote IIS Site: Unable to access remote IIS after working in local-machine IIS 如何配置iis,以便可以从远程Windows pc连接到iis托管的localhost - how to configure iis so that I can connect to my iis hosted localhost from a remote windows pc iis托管的网站与本地网站不同 - iis hosted web site differs from local web site 在 IIS 托管站点上找不到 Aspx 页面,但它存在于路径上 - Aspx page not found on IIS hosted site but it exists on path 从IIS获取我托管的Asp.Net网站的运行会话数 - Get running session count from IIS for my hosted Asp.Net web site 如何通过我的IP地址从远程计算机访问本地托管的IIS网站? - How Can I Access Locally Hosted IIS WebSite from Remote Computer By My IP Address? 想要从模拟器连接到托管在 IIS 中的本地站点,而不是本地主机 - Want to connect to a local site hosted in IIS from the emulator, not localhost though 如何从另一台PC访问IIS托管站点 - How to access IIS hosted site from another PC 从SSIS包转向IIS上托管的网站 - Turn of web site hosted on IIS from SSIS package 无法在IIS中打开我的.aspx页,Windows Server2003 R2企业版 - unable to open my .aspx page in IIS,windows server2003 R2 Enterprise version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM