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

Error 3194 - Check Your Hosts File

This error occurs when iTunes is not able to talk to the Apple signing servers.


Apple deals with this problem in detail in http://support.apple.com/kb/TS3125.


Before you apply the recommendations (correct date, time and timezone / logged on as admin / latest version of iTunes installed / latest operating system updates installed / latest router and modem firmware installed / correct proxy settings / latest security software installed / security software correctly configured / and so forth), it may save you a good deal of time and effort to quickly check your hosts file to ensure that it does not contain any entries that will point iTunes to a server other than gs.apple.com.


On Windows, the hosts file can be found here: C:\Windows\System32\ drivers\etc\hosts.

On OSX, the hosts file can be found here: /private/etc/hosts.


A standard Windows hosts file should look something like this -


# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost


If you have any lines that point to gs.apple.com, backup the hosts file and delete the lines (using a standard editor such as Notepad). You may need to ensure that you have admin privileges. Reboot and try the iTunes upgrade again.


If your hosts file is clean, you will have no option but to pursue the Apple recommendations - but at least you will have eliminated one of the more common causes of the error.

Posted on May 29, 2011 3:55 AM

Reply
29 replies

Sep 20, 2013 1:23 AM in response to danuja

Lawrence

perhaps this news posted to day about Apples problems might be the answer to the problem:


http://www.dailymail.co.uk/sciencetech/article-2424722/Apple-iOS-7-ERROR-message -thousands-users-new-software-update-fails-download.html


  • Apple faced embarrassment yesterday after thousands of customers struggled to download its new operating systems for iPhones and iPads
  • The software was available to download on Tuesday afternoon, but no sooner had it launched than users started to complain
  • Many users received error messages and 'failed to download' warnings
  • Claims suggest Apple's servers couldn't cope with the increase in traffic
  • The software has had a design 'overhaul' with flatter, sharper icons
  • As well as a new look it has added new Control and Notification Centres
  • Other extra features include an updated photo stream and AirDrop sharing



It seems I'm not the only one to have this problem

Cheers

Danuja

Sep 20, 2013 6:36 AM in response to danuja

If your hosts file contained gs.apple.com (the URL for Apple's activation server) anywhere the ONLY way that entry could get into the file is if you or a program that you used put it there. The only programs that would insert a redirect into the hosts file that would cause iTunes to bypass Apple's activation server are programs designed to hack the phone and bypass official activation. If a corrupt hosts file was not your problem then it was just server overload that you encountered.

May 6, 2014 9:36 AM in response to @rchangel

My File hosts like that..


# Copyright (c) 1993-2009 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

# 102.54.94.97 rhino.acme.com # source server

# 38.25.63.10 x.acme.com # x client host



# localhost name resolution is handled within DNS itself.

# 127.0.0.1 localhost

# ::1 localhost


how to do that? if i save can't be accept. Please help me 😟 My phone in recovery mode from last month until now can on

May 18, 2014 4:29 PM in response to Lawrence Finch

Hi Lawrence.


Windows XP version 5.1 SP3 v6

iPhone 3GS previously iOS 4.x.x.x

iTunes 11.1.3.8


Having successfully backed up my trusty 3GS, i started the restore process.


Unfortunately I am getting the "the iPhone cannot be restored at this time because the iPhone software update server could not be contacted or is temporarily unavailable" error message.


My original hosts file, located in WINDOWS\System32\drivers\etc\, looked like this:


127.0.0.1 localhost


Just that, nothing else.


I tried:


# Copyright (c) 1993-2006 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

# 102.54.94.97 rhino.acme.com # source server

# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handle within DNS itself.

# 127.0.0.1 localhost

# ::1 localhost


But no luck. This is the format of the file suggested on the Microsoft website for XP users.


I've tried various other combinations, with or without the hash - any suggestions?


Thanks in advance,


Roger

May 18, 2014 11:02 PM in response to Lawrence Finch

Thanks for such a quick reply.


This is a second-hand machine I got from my local computer guy (used him for years btw, reliable fella).


I've been through the 'add or remove programs' screen and removed anything which looks like a security program.


No anti virus of which I'm aware, other than the native Windows Firewall and the firewall on the router - a BT Homehub.


Just off to work this morning (I live in the UK) - will try the firewalls and get back to you.

May 19, 2014 1:19 AM in response to Lawrence Finch

OK I had a few minutes to spare so:


I've been through 'add or remove programs' and also "C:\Program Files" to check and oust anything which looked remotely like an anti-virus or security program.


I turned off the Windows Firewall, but left the BT Homehub's one on - no luck, same message


I turned off the Hoehub's firewall as well, same outcome.


I opened itunes and went Help/Run Diagnostics - I unchecked everything except the 'Network connectivity tests' checkbox. The result says


Network Connectivity:


Network Interfaces verified


iTunes Store connectivity:


Internet Connection failed

Secure link to iTunes store verified


There is a red "light" next to the internet connectivity item.



I've followed the 'Help' button next to the Internet connectivity item. No luck - the internet connections are fine. I don't know about thr Router - maybe it has something to do with Port Forwrding.


I flushed the DNS cache - but still no luck. Here's the report from the itunes system diagnostics:




<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


Microsoft Windows XP Professional Service Pack 3, v.6419 (Build 2600)

TOSHIBA TECRA M5

iTunes 11.1.3.8

QuickTime 7.7

FairPlay 2.5.16

Apple Application Support 2.3.6

iPod Updater Library 11.1f5

CD Driver 2.2.3.0

CD Driver DLL 2.1.3.1

Apple Mobile Device 7.0.0.117

Apple Mobile Device Driver 1.64.0.0

Bonjour 3.0.0.10 (333.10)

Gracenote SDK 1.9.6.502

Gracenote MusicID 1.9.6.115

Gracenote Submit 1.9.6.143

Gracenote DSP 1.9.6.45


iTunes Serial Number 0012B718085C0A98


Current user is an administrator.

The current local date and time is 2014-05-19 09:12:23.

iTunes is not running in safe mode.

WebKit accelerated compositing is enabled.

HDCP is not supported.

Core Media is supported.


Video Display Information


NVIDIA Quadro NVS 110M

Mobile Intel(R) 945GM Express Chipset Family

Mobile Intel(R) 945GM Express Chipset Family

Mobile Intel(R) 945GM Express Chipset Family

Mobile Intel(R) 945GM Express Chipset Family



**** External Plug-ins Information ****


No external plug-ins installed.


iPodService 11.1.3.8 is currently running.

iTunesHelper 11.1.3.8 is currently running.

Apple Mobile Device service 3.3.0.0 is currently running.


**** Network Connectivity Tests ****


Network Adapter Information


Adapter Name: {B6B1BBB1-35D2-4D5E-8E40-E90AE97D4142}

Description: Intel(R) PRO/1000 PL Network Connection - Packet Scheduler Miniport

IP Address: 0.0.0.0

Subnet Mask: 0.0.0.0

Default Gateway:

DHCP Enabled: Yes

DHCP Server:

Lease Obtained: Thu Jan 01 00:00:02 1970


Lease Expires: Thu Jan 01 00:00:02 1970


DNS Servers:


Adapter Name: {E58EC8CE-057F-49D3-81B7-5F22C73DB2C0}

Description: Intel(R) PRO/Wireless 3945ABG Network Connection #2 - Packet Scheduler Miniport

IP Address: 192.168.1.67

Subnet Mask: 255.255.255.0

Default Gateway: 192.168.1.254

DHCP Enabled: Yes

DHCP Server: 192.168.1.254

Lease Obtained: Mon May 19 07:57:11 2014


Lease Expires: Tue May 20 07:57:11 2014


DNS Servers: 192.168.1.254


Active Connection: LAN Connection

Connected: Yes

Online: No

Using Modem: No

Using LAN: Yes

Using Proxy: No


Firewall Information


Windows Firewall is on.

iTunes is enabled in Windows Firewall.


Connection attempt to Apple web site was successful.

Connection attempt to browsing iTunes Store was successful.

Connection attempt to purchasing from iTunes Store was successful.

Connection attempt to iPhone activation server was successful.

Connection attempt to firmware update server was successful.

Connection attempt to Gracenote server was successful.

Last successful iTunes Store access was 2014-05-19 09:11:12.



<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


This is bizarre - the restore still does not work - the little red "light" next to 'Internet Connectivity' in the diagnostics results screen is still red, but the log says the connections were successful... help! I don't understand.

Error 3194 - Check Your Hosts File

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