asp.net在浏览器中查看 一直加载 无法显示

除了把地址栏里面的localhost改成127.0.0.1。有别的方法可以完全解决吗?之前完全不会。... 除了把地址栏里面的localhost改成127.0.0.1 。
有别的方法可以完全解决吗?之前完全不会。
展开
 我来答
快乐分享者
2012-06-08 · TA获得超过5116个赞
知道大有可为答主
回答量:1172
采纳率:0%
帮助的人:574万
展开全部
如果是改成127.0.0.1能显示的话
将如下路径C:\WINDOWS\system32\drivers\etc中的hosts改成如下
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
???????????????????????????????
如果不行的话就改成localhost 127.0.0.1
追问
# Copyright (c) 1993-2009 Microsoft Corp.

# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
#0.0.0.0 biz5.sandai.net

怎么改??请指明,谢谢。
追答
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
#0.0.0.0 biz5.sandai.net
127.0.0.1 localhost

这样试试,以为你的127.0.0.1可以localhost不可以,随意他俩的映射关系你自己改一下吧,之前我就遇到过这个问题,就是这样改的
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式