hosts文件失效的问题!!

来源:百度知道 编辑:UC知道 时间:2024/04/29 11:14:48
最近因为玩一个网游需要hosts文件来连接,我在网吧打,但是c盘并没保护,所以在指定的目录覆盖了hosts文件,连的时候却怎么都连不上去,在家里玩时一样的hosts能上,文件覆盖后我也看过没有被修改,网吧系统是xp,求教有可能什么原因导致了hosts文件没有作用,无法连上服务器了?
忘了补充了,感谢下面那位兄弟的回答,但是这个hosts文件是特殊的,就是连游戏需要的内容都在里面,并不是普通的xphosts文件,在家是可以用的!已经试过

XP标准的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

你把上面一段复制,再用记事本打开hosts文件,替换即可

你是什么网游,我帮你加在上面,你复制直接替换即可