FIXED thanks to a god type member on modmyi
the fix is below should anyone need it, just to note, I never had the line he is telling you to ammend
---------------------------------------------------------------------------------------------------------------
I can't gaurantee this will work for everyone, but for those of you who, like myself, could not restore, update, or kept getting this error with there iphone connected to iTunes, I hope this will help you. This post is for those of you who may have gotten an error 1638, or "The iPhone "" cannot be restored at this time because the iPhone software update server could not be contacted or is temporarily unvailable."
LOL I was about to post a big long novel-like story about this whole thing, but I'll cut it all short. Not too many google searches seem to link to any particular fix for this. For me, it had to do with the hosts file. So I hope it is the same for you, and this fixes your problem as well.
Open notepad as administrator, and direct yourself to:
C:WindowsSystem32Driversetc
open the file "Hosts" you should hopefully find something that looks like this:
Code:
# Copyright (c) 1993-2009 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
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
# 127.0.0.1 gs.apple.com
note the "127.0.0.1 gs.apple.com" portion near the bottom. your hosts may be different, and if so, then look for that part specifically. the problem for me, lied within the fact that just before the "127.0.0.1 gs.apple.com" part, there originally was no hash(#) with the space like the rest of the hosts file. This was all I had to fix. After editing and then saving the hosts file in notepad. I restarted iTunes and the update went through without a hitch!
so if you do not see the hash and space before the "127.0.0.1 gs.apple.com" part, all you have to do is put the #, and then press tab! I hope this works for some of you guys!
If not then sorry if I wasted your time. Oh, and sorry as well, if this is not in the right spot.