用iPhone或iPad更新系統時,「無法聯絡iPhone軟體更新伺服器」是相當典型的錯誤。以下整理多種可行方案,通常不需要全部試完就能解決。


從「開始」選單開啟控制台,進入「網路與共用中心」。

點擊「本機連線」。

在視窗中選擇「內容」。

選擇「Internet 通訊協定第4版(TCP/IPv4)」後再點「內容」。

勾選「使用以下的DNS伺服器位址」,在「首選DNS伺服器」填入 8.8.8.8。


一路按確定退出,再重開iTunes測試。
開啟系統磁碟下的 Windows\System32\drivers\etc。

雙擊HOSTS檔並以記事本開啟。


在檔案最下方加上 74.208.10.249 gs.apple.com,存檔關閉後重試。

用瀏覽器打開 https://support.apple.com/kb/TS1814?viewlocale=en_US,保持該分頁開著,再重新啟動iTunes。
開啟 C:\Windows\System32\drivers\etc 中的Hosts檔,找到 74.208.10.249 gs.apple.com 並刪除。若無效,可把gs.apple.com改為phobos.apple.com或albert.apple.com再試。
從「開始」選單的「執行」輸入cmd開啟命令提示字元,執行 nslookup gs.apple.com,畫面會顯示你所在地區解析到的實際IP(通常以紅色標示),記下來。

接著以記事本開啟 C:\Windows\System32\drivers\etc 中的hosts檔,把 74.208.10.24 gs.apple.com 換成剛才記下的IP(若原檔沒有這行,就在最後的空白行新增,例如 17.171.36.30 gs.apple.com),存檔退出後重開iTunes。
確認Messenger、Telnet、Terminal Services三項服務是否已啟動。在「我的電腦」上按右鍵→「管理」→「系統服務」,找到這三項並啟用。
XP使用者:控制台→「網際網路選項」→「連線」→「LAN 設定」→勾選「自動偵測設定」。
Vista/Windows 7使用者:控制台→「網路與網際網路」→「網際網路選項」(或於「傳統檢視」下開啟)→「連線」→「LAN 設定」→勾選「自動偵測設定」。
兩個視窗都按確定後,重開iTunes並連接設備,再執行更新或還原。
開啟 C:\WINDOWS\system32\drivers\etc 下的hosts檔,將內容替換為Windows標準範本:
# 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 host
127.0.0.1 localhost
存檔後重新開啟iTunes即可。