Unable to access my website outside local network

血红的双手。 提交于 2019-12-11 13:17:47

问题


I'm hosting my website on IIS. I am able to access the website via localhost and the system's IP address, but I'm unable to access it outside of my local network. I am able to remotely control that machine using mstsc.

I believe that the firewall is completely disabled. What could be the cause of this?


回答1:


If your external IP address is different from your machines' intranet IP address, what you need is port forwarding configured in your router. I.e. external requests coming to ports 80 (HTTP) and port 443 (HTTPS) should be re-routed to your IIS PC.

Disregard port 443, if your web site is not using Secure Sockets Layer (SSL).



来源:https://stackoverflow.com/questions/23371459/unable-to-access-my-website-outside-local-network

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!