热门回答:
您好您是想修改hosts文件是吧
路径在
C:\Windows\System32\drivers\etc
建议先修改权限。否则无法更改
建议像我这样设置user权限
以上设置只是用于个人电脑。服务器设置后有安全隐患。慎重
ヽ(*゚ー゚*)ノ我是一个爱折腾的up主。纯爱好。爱折腾。擅长软件安全。网络安全。数据安全。WEB服务器安全。等技术。关注我。学习更多网络知识
其他观点:
Windows 10 64位的默认文件一般在C:\Windows\System32\drivers\etc目录下。
有些系统在此目录下是没有hosts文件的。如果没此文件。可以在其他目录新建一个hosts文件。然后复制到C:\Windows\System32\drivers\etc目录。
正常情况下不建议修改此文件。如果需要修改。建议先备份。然后把hosts文件复制到其他非系统目录(如桌面)。修改后再复制C:\Windows\System32\drivers\etc目录并替换hosts文件。
注意:千万不要在C:\Windows\System32\drivers\etc目录直接修改hosts文件。这样是无法保存的。
下面是Windows 10 64位的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
其他观点:
位置:
C:\Windows\System32\drivers\etc
内容:
# 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:
# localhost name resolution is handled within DNS itself.
#127.0.0.1 localhost
#::1 localhost
- 初次创业,有什么好的建议,请高人指点下?
- 河北邯郸,3000年未改名字的城市,在历史上的地位怎么样?
- 请问地球有多重?
- 宝玑,宝珀,积家,芝柏,卡地亚哪个档次高?
- 悲伤逆流成河,但没有一种悲伤是无辜的,你的悲伤是什么?
以上就是由互联网推广工程师 网创网 整理编辑的,如果觉得有帮助欢迎收藏转发~
本文地址:https://www.wangchuang8.com/168769.html,转载请说明来源于:网创推广网
声明:本站部分文章来自网络,如无特殊说明或标注,均为本站原创发布。如若本站内容侵犯了原著者的合法权益,可联系进行处理。分享目的仅供大家学习与参考,不代表本站立场。
评论(2)
文件,目录,建议,权限,观点,服务器,内容,目录下,个人电脑,在此
没想到大家都对求win10 64位hosts默认文件?感兴趣,不过这这篇解答确实也是太好了
您好您是想修改hosts文件是吧路径在C:\Windows\System32\drivers\etc建议先修改权限