If iTunes or the Apple Devices app can't contact the software update server for iPhone, iPad or iPod

Find out what to do if iTunes or the Apple Devices app can't contact the software update server when you try to restore or update your iPhone, iPad or iPod.

If you use iTunes or the Apple Devices app on your PC to update or restore your iPhone, iPad or iPod, you may see an alert. This alert indicates that your computer can’t contact the software update server because you are not connected to the internet. Ensure your internet connection is active and try again. Follow the steps below to fix the issue.

Update or restore your iOS device without a computer

You need to use your computer to update or restore your iOS device if you’ve forgotten your password and are locked out, or if your device is in recovery mode.

If that's not the case, you can update or restore with these steps:

  1. Disconnect the iPhone, iPad or iPod touch from your computer.

  2. On the device, turn on Wi-Fi. We recommend that you connect to a network, not a personal hotspot, when you download software updates.

  3. Go to Settings.

  4. Tap General.

  5. Tap Software Update.

If this doesn’t fix the issue, go to the next solution.

Connect to the internet and the iTunes Store

Open a browser on your computer and see if the browser can load a web page. Then, try to connect to the iTunes Store.

If you can't connect to the internet, contact your computer administrator or Internet Service Provider (ISP) for help. Or, try a different computer or network.

If you can connect to the internet but see an error message when you try to connect to the iTunes Store, find solutions to possible iTunes Store errors.

If these solutions don’t fix the issue, go to the next solution.

Edit or reset your hosts file

Your hosts file may block access to the software update server. Here's how to edit or reset your hosts file.

If you're using a Mac

If you're using a work computer, check with your computer administrator before editing the hosts file.

  1. Choose Go from the menu bar in the Finder.

  2. Select Utilities.

  3. In the Utilities folder, open Terminal.

  4. In the Terminal application, type the following command and press Enter to open the hosts file:sudo nano /private/etc/hosts

  5. When prompted, type your user password. Note that nothing appears in the Terminal window when you type the password.

  6. Use the arrow keys on your keyboard to move through the hosts file.

  7. If any line includes apple.com, add a hash tag (#) and a space character to the beginning of the line.

  8. To save the hosts file, press Control-O.

  9. At the filename prompt, press Enter.

  10. To exit, press Control-X.

If this doesn't fix the issue, your security software may be out of date or misconfigured. Find out how to resolve issues between iTunes and your security software.

If you're using a Windows PC

On your Windows PC, reset the hosts file.

If this doesn't fix the issue, your security software may be out of date or misconfigured. Find out how to resolve issues between iTunes or the Apple Devices app and your security software.

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the supplier for additional information.

Need more help?

Tell us more about what’s happening and we’ll suggest what you can do next.

Get suggestions

Published Date: