win7 VS2010玩过网游后编写的页面无法通过浏览器访问,将localhost换成127.0.0.1可以浏览。
网上查原因,我的注册表信息里的DataBasePath 类型已经是REG_EXPAND_SZ,
本地连接IPv6已禁用。
hosts 文件如下:# Copyright (c) 1993-2009 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# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost网上说玩过游戏后有冲突但没有说解决办法。我认同,我前段时间运行都正常,昨天晚上下载了《英雄联盟》,玩了一会,今天早上就不行了,那位高手能解决。感激不尽!!!!
网上查原因,我的注册表信息里的DataBasePath 类型已经是REG_EXPAND_SZ,
本地连接IPv6已禁用。
hosts 文件如下:# Copyright (c) 1993-2009 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# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost网上说玩过游戏后有冲突但没有说解决办法。我认同,我前段时间运行都正常,昨天晚上下载了《英雄联盟》,玩了一会,今天早上就不行了,那位高手能解决。感激不尽!!!!
localhost ::1
加上这句在hosts里面试试
localhost 127.0.0.1
localhost ::1
,保存怎么保存,我的访问被拒绝