欢迎访问服务器技术网-www.fuwuqijishu.com

hosts无法新建,连空的都不让新建

操作系统系统故障 fuwuqijishu 2年前 (2022-10-01) 12次浏览 0个评论 扫描二维码

不让直接那就试试婉转的 。。。
先在其它位置新建一个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:
#
# # source server
# # x client host
# localhost name resolution is handled within DNS itself。
# localhost
# ::1 localhost

输入完毕后保存并去除扩展名,再复制到C:\WINDOWS\system32\drivers\etc内。。。。。。OK

喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

Warning: error_log(/www/wwwroot/fuwiqijishu/wp-content/plugins/spider-analyser/#log/log-2422.txt): failed to open stream: No such file or directory in /www/wwwroot/fuwiqijishu/wp-content/plugins/spider-analyser/spider.class.php on line 2900