host怎么写

1. host文件的语句怎么写

打开电脑的系统盘(一般默认为C盘):C盘 -> Windows -> System32 -> drives -> etc -> hosts文件

host怎么写

将hosts 文件已记事本的方式打开,注意最好是使用记事本,因为hosts文件对格式的要求非常严格,可能不同的软件打开,格式是不一样的,那样host是不能配置成功的

将需要加入的host地址,加入hosts 文件中,如果需要在加入的host地址添加注释,可以在注释语句前加入 “#”

保存hosts文件,重启浏览器,输入地址即可

5

如果在配置完成后,不能访问网站,则重新打开hosts文件,看文件的格式是否正确,如果不正确,修改后,保存 ,再次访问

6

配置完成后,hosts 文件示例(应网友需求添加)

2. host怎么写入,怎么解决封杀迅雷

1、点开电脑系统的桌面,windows任意系统都是可以的,在桌面找到计算机图标,点击进入,选择你的系统盘,一般默认是c盘。

2、接下来进入的系统盘符的界面,然后选择文件夹WindowsSystem32driversetc,然后就可以看到hosts文件了。

3、接着在hosts文件上边右击鼠标,在弹出的右键菜单中选择用记事本打开选项。

4、接着就会进入到hosts文件的界面,这里就可以看到里边的一些内容了。

5、ip地址,后边指向的网址内容,就解决封杀迅雷了。

6、最后,修改完成之后,记得点击菜单栏的文件选项,然后在弹出的菜单中选择保存,这样修改后的内容就会生效了。

3. 怎么写Hosts文件

开始--搜索--文件和文件夹--hosts ,搜索。右侧,打开hosts文件。选择用记事本打开,# Copyright (c) 1993-1999 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 host127.0.0.1 localhost------ 屏蔽迅雷看看广告 ------

0.0.0.0 pubstat.sandai.net

0.0.0.0 mcfg.sandai.net

0.0.0.0 biz5.sandai.net

0.0.0.0 float.sandai.net

0.0.0.0 cl.kankan.xunlei.com

0.0.0.0 211.94.190.80

0.0.0.0 mtips.xunlei.com

0.0.0.0 211.94.190.80

0.0.0.0 mtips.xunlei.com

0.0.0.0 adsresult.joywell.com.cn

0.0.0.0 advstat.xunlei.com

0.0.0.0 wy.xunlei.com

0.0.0.0 kkpgv.xunlei.com

0.0.0.0 statis.kankan.xunlei.com

0.0.0.0 server1.adpolestar.net

0.0.0.0 mpv.sandai.net 楼主大可不必在乎迅雷的提示,因为迅雷检测到其广告被屏蔽掉。如果修复后,当你打开迅雷的时候,就会有弹窗广告。