永发信息网

hosts文件都乱套了,怎么修复,还原

答案:3  悬赏:60  手机版
解决时间 2021-01-31 14:03
  • 提问者网友:贪了杯
  • 2021-01-31 07:09
hosts文件都乱套了,怎么修复,还原
最佳答案
  • 五星知识达人网友:零点过十分
  • 2021-01-31 08:09
# 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
全部回答
  • 1楼网友:独行浪子会拥风
  • 2021-01-31 10:02
右键单击,把它的后缀名中的.txt去掉之后保存就好了,注意txt前面还有个点。 再看看别人怎么说的。
  • 2楼网友:忘川信使
  • 2021-01-31 09:45
hosts文件默认是空的也没问题,因为那些语句都被#注释掉,不会运行的。如果要自己解析,那就用记事本打开,填入IP,空格,再填入域名,如 127.0.0.1 localhost
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯