ASP.NET - 虚拟 PC
我在本地计算机上创建了一个 ASP.NET 应用程序。为了在 IE 6 中测试此应用程序,我创建了一个 VPC。我正在尝试通过 VPC 连接到此 Web 应用程序。但是,我无法连接到它。不过我可以连接到互联网。
我做错了什么?
I have created an ASP.NET application on my local machine. In order to test this application in IE 6, I have created a VPC. I am trying to connect to this web application through the VPC. However, I cannot connect to it. I can however connect to the internet.
What am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
可以从虚拟 PC ping 通吗?如果没有,则说明您存在网络配置问题。
否则,请检查防火墙,并确保端口 80 已打开并将流量发送到 IIS。
Can you ping from the virtual PC? If not, you have network configuration issues.
Otherwise, check firewalls, and make sure that port 80 is open and sending traffic to IIS.
有很多可能性。首先我会考虑 ASP.NET 端的任何防火墙规则阻止传入的 HTTP 连接。
there are many possibilities. first I'd consider would be any firewall rules on the ASP.NET side preventing incoming HTTP connections.
您用来访问您网站的 URL 是什么?如果您使用的是 localhost,则需要将其更改为开发计算机的实际 IP 地址,因为 Virtual PC 映像上的 localhost 与开发计算机上的 localhost 是不同的 IP 地址。
What is the URL you are using to go to your site? If you are using localhost, you will need to change that to the actual IP address of your development machine, as localhost on the Virtual PC image will be a different IP address than localhost on the development machine.