运行asp.net项目时,我得到:Internet Explorer无法显示该网页 [英] when running asp.net project I get: Internet Explorer cannot display the webpage

查看:131
本文介绍了运行asp.net项目时,我得到:Internet Explorer无法显示该网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了VS2005 sp3.5一个新的Vista计算机上。
从未有过此计算机上安装的Visual Studio。

I recently installed vs2005 with sp3.5 on a new vista computer. Never had Visual Studio installed on this computer.

每当我建立一个web项目,我收到以下内容:Internet Explorer无法显示该网页

whenever i'm building a web project, i receive the following: "Internet Explorer cannot display the webpage".

我不能运行任何我的项目...

I can't run any of my projects...

感谢

推荐答案

这是因为系统模块的名称与本地主机端口号。如果更换的话本地主机并输入127.0.0.1它应该工作。

This is because the system blocks the name localhost with a port number. If you replace the word localhost and type 127.0.0.1 it should work.

要解决此问题,打开hosts文件,C:\\ WINDOWS \\ SYSTEM32 \\ DRIVERS \\ ETC \\主机和注释行:: 1本地主机,然后重试。

To fix this issue, open the hosts file "C:\Windows\System32\drivers\etc\hosts" and comment the line "::1 localhost" and then retry.

请注意,这条线是由IP v6的要求,如果你正在使用它不应该被删除。

Please note that this line is required by IP v6 and should not be removed if you are using it.

这篇关于运行asp.net项目时,我得到:Internet Explorer无法显示该网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆