Why isn't my iPhone 5 getting restored through iTunes?

why is my iphone 5 not getting restored through itunes ?

actually i had jailbroken my device and it got stuck in recovery mode,
i tried restoring it and updated it from 8.1.1 to ios 8.1.2 but at last message displayed that iphone cannot be restore because of unknown error (3).
Re: why is my iphone 5 not getting restored through itunes ?

Check your computer's hosts file for entries related to Apple - and remove any you find and reboot your computer.

Original thread: https://forums.imore.com/threads/why-isnt-my-iphone-5-getting-restored-through-itunes.314034/