You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

💡 Did you know?

⏺ If you can't accept iCloud Terms and Conditions... Learn more >

⏺ If you don't see your iCloud notes in the Notes app... Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iPhone update server could not be contacted, but why ?

Hi!
I'm wondering why iTunes can't seem to contact the iTunes update/restore server. My iPhone needs to be restored and when I try, it extracts the software but it stops when it comes to contact the server, it says it is temporarily unavailable. I tried all Apple solutions on the support page, but I can't understand how can I check what ports are opens and if iTunes uses them or not...
Thanks.

iPhone 3GS, iPhone OS 3.1, Mac OS X 10.6.2

Posted on Apr 17, 2010 4:43 PM

Reply
139 replies

Oct 26, 2011 3:27 PM in response to wanghq

Hi there


I'm still being given the message: "the iPhone software update server could not be contacted" when trying to install ios5 on my iPhone (running Windows Vista Home Premium). I'd like to experiment with the method using the host file previously discussed, but when I navigate (using Notepad) to the to the Drivers > etc folder, there is no 'host' file to open? If I access the etc folder separately without using Notepad, there does exist a 'lmhosts.sam' file, although I'm not sure what it is.


If it's of any relevance I was messing about with host files last week when trying to solve the same problem with iOS5, using the offical guide from apple which advises to make copies of host files on the desktop etc (although this was not succesful).


Please, if someone could help me, I would be so grateful. I'm so fed up of getting the same error message!

Jan 27, 2012 7:37 PM in response to TheHammer417

Bravo mate! Worked like a charm for me on my iMac running 10.7.2 and fussy 3G! Thank you.


Step 1 – Open the Terminal.app

Either by start typing Terminal on the Spotlight, or by going into Applications -> Utilities -> Terminal.


Step 2 – Open the hosts file

Open the hosts by typing on the Terminal that you have just opened:

sudo nano /private/etc/hosts


PS: Control and o to save, and Control and x to quit for those who want to know.

Mar 7, 2012 10:46 AM in response to Sparkax

Had this problem yesterday and finally connected to Apple server and downloaded iOS update to iPhone G3S! Thought I'd share what worked for me, since this thread was so helpful and still active.


First, I tried several of the suggestions in this thread, but nothing worked until I removed my Airport Extreme/wireless from the loop and connected iMac to internet via Ethernet. Then, disconnected all other USB connections, except for the iPhone, as recommended here:


http://support.apple.com/kb/TS1275


In the end, I am not exactly sure which of the changes was the one that finally worked, but thought I would mention the above, since I didn't see it elsewhere in this thread.


Prior to trying the ethernet connection/USB disconnect combo, I tried the suggestions posted by TheHammer on page 3 of this thread - modifying the Hosts file using Terminal with # (space). When that didn't work, i followed with suggestion from Jon T-W on page 5 -- additional modifications to Hosts using Terminal. These directions were easier to follow than those on the Apple link above. Thanks Hammer and Jon T-W!


So, if you are just starting your troubleshooting adventure...my suggestion would be to start with the easiest - try the 5 steps on the Apple article linked above first. If these don't work, you may need to modify the Hosts file, too.


Hope all of this helps some to avoid unnecessary frustration....good luck!

Mar 7, 2012 10:54 PM in response to Sparkax

Okay, I've got an iMac running the latest version of Lion. I've never had this problem before and now all of the sudden it keeps searching for a connection to the update server. I've read every single post on this thread and I don't have a "Go" option in Finder and my Terminal app doesn't list any of the things previously discussed. I know it isn't my network because my wife's laptop (Windows 7) updated perfectly earlier on the same network. As many people have said that the host file issue fixed their problem I'm not doubting that it works, I just don't know how to get to that point on the latest version of Lion. Any help would be greatly appreciated. Thanks.

Mar 8, 2012 8:01 AM in response to Sparkax

I've had this problem for weeks. Tried to connect to the apple server to restore my iPad2 and the dialogue just hung at 'Contacting the iPad software server' never to connect. I have my ISP router that comes into my house and my AirPort Extreme is connected to that. I connected my iMac to my ISP router instead of my AirPort extreme and it worked immediately. Something with the AirPort extreme was blocking access. I'll try updating the firmware for that in a bit but for now that is the solution that worked for me.

Mar 8, 2012 9:09 AM in response to SmileyGiles

SmileyGiles -


I am also running the latest version of Lion on an iMac.


Where are you getting hung up with Terminal? Here are some ideas:

Don't see the host file info?

Be sure that you are typing a space after 'sudo nano', like this: sudo nano /private/etc/hosts

Then, enter your user password.


See the host info, but it looks different than those posted previously? Write down/make a copy of your original host settings (just in case you need to go back). Then, try Jon T-W's suggestion:

Add to the existing lines a #, followed by a space, preceeding each line that didn't previously have this.

Then, add as the last line: # 127.0.0.1 gs.apple.com

Now, save the new host file using control+o. Hit enter.

Then, exit terminal using control+x.


Finally, restart the computer.


If this doesn't work....review everything in the note below. I did everything listed above and turned my firewall off, detached all other USB devices, connected directly to my ISP source before it finally worked.....so it's difficult to say exactly which thing or combination did the trick. Hope this helps!


"If there were no system software updates available for your computer, you are running the latest version of iTunes, have no other USB devices attached, have no security software installed, and are directly connected to your ISP source, simply restarting the computer can clear up certain issues that could prevent you from restoring iPhone, iPad, or iPod touch. After restarting, attempt to restore again."

Mar 9, 2012 10:03 AM in response to jen0

Having similar bizarre problem. Using Lion etc - all apps and system latest version. Updated iPad to 5.1 via iTunes this morning, but this afternoon iPhone will not connect to update server via iTunes. Just times out. No error message at all. Have tried disconnecting USB devices, restarting everything. No change. Tried to update using iBook instead of iMac. Same problem.

iPhone update server could not be contacted, but why ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.