⑴很多用户由于一些需要对Win系统HOST文件进行了修改或是替换,到后面想改回win原Host内容又不知道是什么,下面小编分享下Win的hosts文件内容。
⑵Win 位系统记得一定要以管理员身份运行记事本,再用记事本打开hosts文件才能保存。
⑶文件路径:C:WINDOWSsystemdriversetchosts
⑷# Copyright (c) - 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, ments (such as these) may be inserted on individual
⑿# lines or following the machine name denoted by a '#' symbol.
⒀# For example:
⒁# ... rhino.acme. # source server
⒂# ... x.acme. # x client host
⒃# localhost name resolution is handled within DNS itself.
⒄# ... localhost
⒅# :: localhost
⒆小知识:其实原Win系统的HOST文件只能说是一个空文件而以 因为 # 在HOST中是注释掉的意思,所以都是没用的一些信息,保持空白也是可以的。