本地計(jì)算機(jī)如何使用代理服務(wù)器方法 1:手動(dòng)設(shè)置代理方法 2:自動(dòng)設(shè)置,直接使用命令行修改
本地計(jì)算機(jī)如何使用代理服務(wù)器
方法1:手動(dòng)設(shè)置代理
1、按win鍵,或者打開(kāi)ie瀏覽器
2、搜索internet選項(xiàng),或者在ie瀏覽器右上角設(shè)置選擇internet選項(xiàng)。
3、點(diǎn)擊連接,找到局域網(wǎng)設(shè)置
4、勾選代理,并設(shè)置ip地址,端口。
這樣,我們就成功設(shè)置了代理,接下來(lái)訪(fǎng)問(wèn)的所有數(shù)據(jù)都會(huì)傳輸?shù)竭@個(gè)代理ip中。
方法2:自動(dòng)設(shè)置,直接使用命令行修改
這么修改也太麻煩了一點(diǎn),直接使用命令行來(lái)解決是不是要簡(jiǎn)單一點(diǎn)呢?
設(shè)置代理(下面的ip設(shè)置為代理ip),代理ip網(wǎng)站推薦http://proxydb.net/:
@echo off echo 設(shè)置代理服務(wù)器…… reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyServer /d "39.106.223.1342:80" /f start iexplore.exe Pause
取消代理:
@echo off echo 取消代理服務(wù)器…… reg add "hkcuSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 0x0 /f start iexplore.exe Pause
這里為什么要啟動(dòng)一下ie瀏覽器呢?主要是為了讓我們的配置生效,找了一些方法都不能生效,啟動(dòng)一下ie瀏覽器生效比較快,還簡(jiǎn)單。