简体   繁体   English

远程访问您的IIS网站

[英]Access remotely to your IIS WebSite

I just created a website using IIS 7. The problem is that I cannot access it from a remote computer. 我刚刚使用IIS 7创建了一个网站。问题是我无法从远程计算机访问它。 I can access lets say, www.mywebpage4test.com in my own computer. 我可以在自己的计算机上访问,例如www.mywebpage4test.com。 I allowed the HTTP program in windows firewall. 我在Windows防火墙中允许使用HTTP程序。 Also tried other port like 82, and opened too. 还尝试了其他端口,例如82,并且也打开了。 I modified the host file from \\drivers\\etc and placed the following, 我从\\ drivers \\ etc修改了主机文件,并放置了以下内容,

127.0.0.1   www.mywebpage4test.com
70.45.XX.XX www.mywebpage4test.com

where of course the xx I used real numbers. 当然,我在哪里使用实数xx。 I am not sure if that ip is the browser or gateway IP... 我不确定该IP是浏览器还是网关IP ...

I can use the ddns but, it do not seems to work neither; 我可以使用ddns,但是它似乎也不起作用。 thus my computer is behind a router. 因此我的计算机在路由器后面。

I figured it out. 我想到了。 My router (DIR-655) does not allow loop redirection. 我的路由器(DIR-655)不允许环路重定向。 Thus if I want to access to my own website I need to use the internal ip. 因此,如果要访问自己的网站,则需要使用内部ip。

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

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