Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 無法上網錯誤代碼 118 的命令列解決法

編輯:Win7 系統應用技巧

瀏覽器顯示錯誤代碼 118 (DNS 解析失敗) 時,可透過命令提示字元重設 TCP/IP 與 DNS 快取來修復。

  1. 按 Win + R 輸入 cmd 開啟命令提示字元。
  2. 命令提示字元視窗
  3. 依序輸入以下指令,每行按 Enter:
    ping www.baidu.com (測試連線)
    ipconfig /flushdns (清除 DNS 快取)
    netsh int ip reset (重設 TCP/IP 協定)
  4. 執行網路修復指令

執行完成後重新開機,網路連線應恢復正常。

Copyright © Windows教程網 All Rights Reserved