I already have done that unfortunately
Some more googling
"What causes the error?
The error 3194 happens when iTunes tries to validate the downloaded restore file (.ipsw) and is unable to reach Apples validation servers. The reason is usually down to something blocking the connection. Other causes are to try to use a firmware version that Apple is no longer signing ie. 5.1.1. So basically you cant use an older firmware unless you work around the security that Apple has put in place. This article does not cover bypassing these security restrictions.
Common causes are:
Firewall (try to disable it and attempt restoring again)
Antivirus (try to disable it and attempt restoring again)
Hosts file blocking access to the validation server. (keep reading for help with these)"
----------
Some more googling
"What causes the error?
The error 3194 happens when iTunes tries to validate the downloaded restore file (.ipsw) and is unable to reach Apples validation servers. The reason is usually down to something blocking the connection. Other causes are to try to use a firmware version that Apple is no longer signing ie. 5.1.1. So basically you cant use an older firmware unless you work around the security that Apple has put in place. This article does not cover bypassing these security restrictions.
Common causes are:
Firewall (try to disable it and attempt restoring again)
Antivirus (try to disable it and attempt restoring again)
Hosts file blocking access to the validation server. (keep reading for help with these)"
That same article gave me this
"Quit iTunes
Download TinyUmbrella. (download links on the sidebar of their site)
Open TinyUmbrella (It requires admin account on the computer)
Select your iPhone and then click on the Advanced tab.
Untick the box Set Hosts to Cydia on Exit (If you need a clean restore from Apple uncheck this box) as seen on the screenshot below
Apply the changes.
Alternative
As mentioned earlier, what causes the error 3194 in iTunes is the inability of iTunes to contact apple. What TinyUmbrella achieves is to remove any blocks created y a previous Jailbreak or similar to the Apple servers.
We can achieve this manually by editing the HOSTS file in Windows or in OS X. All you need to do is to remove any reference to gs.apple.com i.e.: 74.208.105.171 gs.apple.com.
In Windows you can find it on: C:\Windows\system32\drivers\etc\hosts
"