win10系统如何新建hosts
来源:网络收集 点击: 时间:2024-09-03在win10系统桌面上,空白处,右键,新建,文本文档。

双击打开新建文本文档。

把下面内容复制到文档上。
# 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

单击文件,保存。

选择新建文本文档。右键,重命名。

把“新建文本文档.txt”改为hosts。注意要是看不到 “.txt”的去设置文件扩展名显示。

单击是。

然后把hosts文件复制到C:\WINDOWSystem32\drivers\etc下,即可。

win10
操作系统WIN10系统WIN10版权声明:
1、本文系转载,版权归原作者所有,旨在传递信息,不代表看本站的观点和立场。
2、本站仅提供信息发布平台,不承担相关法律责任。
3、若侵犯您的版权或隐私,请联系本站管理员删除。
4、文章链接:http://www.1haoku.cn/art_1192692.html