hosts文件没有了怎么办
时间:2024-03-14 | 作者: | 阅读:0【hosts文件问题解答大全】
电脑没有hosts文件解决办法:
1、首先在系统桌面空白处右击鼠标选择新建、选择文本文档。
2、如果第一步操作正确那么就可以创建出一个如下图一样的文本文档。
3、将一下内容复制到创建好的文本文档中:
# 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
#127.0.0.1 gilisoft.com
完成以上标红内容复制后在关闭txt文本的时候选择保存内容。
4、回到系统桌面右击txt文本然后选择重命名,将新建文本文档txt修改为hosts!注意不要有任何多余的空格或者是符号。
5、将已经修改好的文档直接从桌面拖到C:WindowsSystem32driversetc目录中即可解决hosts文件没有了的问题。
(以上就是hosts文件没有了怎么办的所有内容!如果对您的问题带来了帮助,请关注我们会为你带来更多优秀文章)
来源:https://www.somode.com/course/7048.html
免责声明:文中图文均来自网络,如有侵权请联系删除,心愿游戏发布此文仅为传递信息,不代表心愿游戏认同其观点或证实其描述。
相关文章
更多-
- 恐怖悬疑《There Are No Ghosts at the Grand》试玩现已在Steam推出
- 时间:2025-11-27
-
- hosts文件的位置在哪里
- 时间:2024-01-30
-
- hosts文件清空会怎么样
- 时间:2024-01-30
-
- 手机hosts文件位置在哪里详细介绍
- 时间:2024-01-30
-
- hosts文件配置工具怎么用
- 时间:2024-01-30
-
- hosts文件怎么修复
- 时间:2024-01-30
-
- 命令行修改hosts文件步骤
- 时间:2024-01-30
-
- iPad等iOS设备如何配置修改hosts
- 时间:2024-01-30
大家都在玩
大家都在看
更多-
- 美团app怎么邀请新用户 如何使用美团APP邀请新人
- 时间:2025-11-27
-
- 《索尼克大乱斗》玩家破1500万 官方回应付费争议
- 时间:2025-11-27
-
- 三角洲行动s7全面战场M7改枪方案
- 时间:2025-11-27
-
- 三角洲行动s7全面战场SCAR-H改枪方案
- 时间:2025-11-27
-
- 美团内测多店下单 统一配送功能 拼好饭2.0来了?
- 时间:2025-11-27
-
- 三角洲行动s7全面战场CAR-15改枪方案
- 时间:2025-11-27
-
- 往日不再nero怎么加点
- 时间:2025-11-27
-
- DNF狄瑞吉神弦弓武器属性一览
- 时间:2025-11-27





