Not able to connect to open internet via terminal

I have open internet access for my Macbook air. I am able to browse from safari various websites. But when from a terminal if I "ping www.google.com" or use a git command, it says connection refused.


See details below,


Duraivels-MacBook-Air:~ Duraivel$ git clone git://git.projects.genivi.org/persistence/persistence-administrator.git

Cloning into 'persistence-administrator'...

fatal: unable to connect to git.projects.genivi.org:

git.projects.genivi.org[0: 140.211.169.15]: errno=Connection refused



Kindly help in this regard.

MacBook Air (13-inch, Early 2015), OS X Yosemite (10.10.4)

Posted on Jul 27, 2015 5:23 AM

Reply
1 reply

Jul 27, 2015 5:51 AM in response to duraivel

Just a guess, but are you using a proxy server?


System Preferences -> Network -> Advanced -> Proxies


Do you have out out-going firewall active?
Little Snitch?

Anti-virus software installed?


All of these can interfere with network traffic. And the reason they may allow web browsers is because they tend to always connect to port 80, were as ping, git, ssh, scp, sftp, ftp, etc... from a terminal may be trying to use a port beside port 80 on the destination system.

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.

Not able to connect to open internet via terminal

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