简体   繁体   English

IIS的ASP.NET托管

[英]asp.net hosting with iis

i made an asp.net website. 我做了一个asp.net网站。 I can access it on the local network but i cant access outside of it. 我可以在本地网络上访问它,但不能在其外部访问。 i have forwarded incoming request from port 80 to my local ip-address and my provider is comcast and i checked thier website and port is not block. 我已将来自端口80的传入请求转发到我的本地ip地址,并且我的提供商是comcast,并且我检查了他们的网站,并且端口未受阻。 In the IIS manager, i set the default website to run on my local-ip adress and port 80. I added exceptions to my firewall for port 80 also. 在IIS管理器中,我将默认网站设置为在本地IP地址和端口80上运行。我还在防火墙上为端口80添加了例外。 what else do i need to do? 我还需要做什么?

heres how i try to access the website from outside the network. 这是我尝试从网络外部访问网站的方式。 I use whatismyip.com to get the external ip address. 我使用whatismyip.com来获取外部IP地址。 then i type http://whatismyipaddress/default.aspx . 然后我输入http://whatismyipaddress/default.aspx I even tried with different port, nothing work 我什至尝试了不同的端口,没有任何作用

There are several things to check to make sure they are setup correctly, but my first guess is that you have setup your domain to point to your computer's local ip address behind the router and that it is not an external IP address. 有几件事需要检查以确保它们设置正确,但是我的第一个猜测是您已经将域设置为指向路由器后面的计算机的本地IP地址,并且它不是外部IP地址。 Computers that are not in your network don't know how to find your computer even when they have your IP address. 不在网络中的计算机即使拥有IP地址,也不知道如何查找计算机。

There are detailed instructions on how to do the whole process here: http://lifehacker.com/160945/ask-lifehacker--host-my-web-site-at-home 有关如何执行整个过程的详细说明,请点击此处: http : //lifehacker.com/160945/ask-lifehacker--host-my-web-site-at-home

I believe the missing link for you is to setup something like DynDNS at http://DynDNS.com . 我相信您缺少的链接是在http://DynDNS.com上设置DynDNS之类的内容。 Even though it looks like they don't have a free option at first glance, they do. 尽管乍一看似乎他们没有免费选择,但他们确实有。

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

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