Windows 10 Itunes: There was an error connecting to the Apple ID server

I've just update my Itunes, when I connect my iPhone, iTunes does not recognize the device, I attempted to:

1. authorize the computer => failed, because of the above error

2. log out & log in again => again the above error


I have no idea what is happened. (I turned of my computer firewall)

Version:

iTunes 12.5.5.5


Thank you.

iPhone 6 Plus, iOS 10.2.1

Posted on Mar 18, 2017 10:16 PM

Reply
6 replies

Mar 21, 2017 11:31 AM in response to ttnhan93

Hey ​ttnhan93,

Thanks for keeping us updated. Since you are getting a similar error about not connecting to the Apple ID server, iTunes not connecting to the server, and iCloud not connecting to the internet, the root cause may be network related. Since you have already disabled the firewall on the computer there are a couple other things to look at. How is the computer connecting to the internet, using ethernet or Wi-Fi?

On your PC

If you can't connect to the iTunes Store for more than a day, find out the required ports and servers:

  1. Make sure that you can access the Internet on your computer.
  2. See if your computer meets the iTunes minimum system requirements.
  3. Check that your operating system is up to date.
  4. Make sure that you have the latest version of iTunes.
  5. The iTunes Store might appear empty and only display the words iTunes Store. In this case, fix conflicts between software that monitors Internet traffic and Apple software.
  6. You might need to set up Windows Firewall to let iTunes access the iTunes Store.
  7. Disable any proxies built-in to Windows. You should avoid proxies because they can cause issues.
  8. Contact your Internet service provider and make sure that these ports and servers are turned on for your network.

If there's still an issue, your hosts file might be the cause. For example, some workplaces might put internal resources in the hosts file that block the iTunes Store. Learn how to reset the hosts file back to default.

To create a copy of your hosts file and replace it with an empty hosts file, follow these steps:

  1. Navigate to the hosts file at C:\WINDOWS\SYSTEM32\DRIVERS\ETC.
  2. Select the hosts file. There should be a duplicate of the hosts file named "Copy of hosts" (Windows XP) or "hosts-copy" (Windows Vista, Windows 7, or Windows 8).
  3. Drag the original hosts file to your desktop.
  4. Control-click or right-click the duplicate file and choose Open from the pop-up menu. If you're asked to choose the program you want to use to open the file, double-click Notepad.
  5. When Notepad opens, choose Edit > Select All.
  6. Choose Edit > Delete.
  7. Choose File > Save.
  8. Close Notepad.
  9. Control-click or right-click the duplicate file, and choose Rename from the pop-up menu.
  10. Type hosts, then press Enter.
  11. Restart your computer.
  12. Try to connect to the iTunes Store.

If you still can't connect, your security software or firewall might not let iTunes communicate with the Internet. Learn how to fix security software issues.

If there's still an issue, get more help.

If you can’t connect to the iTunes Store
If iTunes doesn't recognize your iPhone, iPad, or iPod
Thank you for using Apple Support Communities. Have a good one.

Mar 20, 2017 8:25 AM in response to ttnhan93

Greetings ttnhan93,

Thank you for using Apple Support Communities. It seems like you updated iTunes and now iTunes does not recognize the iPhone. In the process of troubleshooting, you received an error about connecting to the Apple ID server. Since this began after an update, one thing you could try is to uninstall then reinstall iTunes. ​I would recommend you read this article and use it to help troubleshoot the issue.

Remove and reinstall iTunes and related software components for Windows 7 and later
Take care.

Mar 20, 2017 9:36 AM in response to sterling r

Thanks for your reply, but it doesn't work.

After that error I've already reinstalled but still the same error.

The problem now is not that iTunes does not recognize the phone, it is that iTunes cannot connect to the server.

I forgot to mention iCloud program on Windows 10, it has the similar error too (could not connect to the internet, it says at the login screen)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Windows 10 Itunes: There was an error connecting to the Apple ID server

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