win7 host文件内容是什么

win7 host文件内容是什么,第1张

win7 host文件内容

# Copyright (c) 2009-2010 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

127.0.0.1 localhost

一、首先,打开Windows7系统,在“我的电脑”中找到以下路径。

二、然后,在文件夹中选中“host”,在右键菜单中选择“打开”。

三、然后,在对话框中选择“记事本”,点击打开。

四、最后,在记事本界面中配置HOST文件,问题解决。

方法/步骤

1、先启动电脑,电脑启动界面。

2、在修改host这个文件之前第一步需要先找到这个文件,这个文件在哪个位置呢?先和我一块找到这个文件。顺序依次为:C:\Windows\System32\drivers\etc。

3、到这一步就可以看到这个文件了。

4、第四步用记事本打开这个文件,会看到文件上有下图这样的内容

5、第五步将里面的内容修改成一下,我这次修改这个文件的目的是登陆豆丁,所以我修改的内容也是围绕这个站来 *** 作的。如下图所示。至此,host文件就已经修改完成了。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/tougao/6676083.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-03-26
下一篇 2023-03-26

发表评论

登录后才能评论

评论列表(0条)

保存