Skip to content

Mac OS X “Host is Down” with Curl, Python, PIP,etc

May 12, 2012

If you’re connected to internet and still some CLI tools such as curl, python, easy_install and pip fail with errors such as:

curl: (7) Failed to connect to IP: Host is down

error: [Errno 64] Host is down

This is while host is ping from command line and browser connects too. First check you don’t have any proxy settings. (echo $http_proxy)

If you don’t have any proxy settings, and browser accesses the site, well then it might be because of some strange rules in LittleSnitch in the case you have one running. Try to stop LittleSnitch network monitor and give it a go.


From → Uncategorized

One Comment
  1. Drew permalink

    Thanks a million…I suspected little snitch, but didn’t bother to try turning it off till I found this post!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: