當前位置:生活全書館 >

綜合知識

> host怎麼寫

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 樓主大可不必在乎迅雷的提示,因為迅雷檢測到其廣告被遮蔽掉。如果修復後,當你開啟迅雷的時候,就會有彈窗廣告。

標籤: host
  • 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/zonghezhishi/90k5gk.html