Use this guide.
Navigate to C:\Windows\System32\drivers\etc\ and locate “hosts” file.
Open this “hosts” file in Notepad (for Windows) and add this
220.127.116.11 gs.apple.com or 18.104.22.168 gs.apple.com
line as shown in the screenshot below:
Now simply save this file and you are good to go!
NOTE for Windows 7 and Vista: Start “Notepad” with Administrator privileges by right clicking on “Notepad” app, and click on “Run as Administrator“ option.