Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am unable to ping outside of my mac from the Terminal, and yet the internet connection (as seen from Safari) is otherwise just fine.

Where do I start to debug this issue?

share|improve this question
up vote 1 down vote accepted

Your Mac is probably behind a proxy. This article explains how to configure proxy settings on your Mac. If you are behind a proxy, then you probably will not be able to get ping to work.

Otherwise, the first step to troubleshooting a connectivity issue when Safari is working is to use traceroute to some well-maintained destination. I typically use


If you get the error unknown host then you have a DNS problem. Otherwise traceroute should provide you with information that helps you pinpoint the problem.

share|improve this answer
In this case specifying the host ('traceroute -p port host') is helpful. – Calaf Aug 6 '12 at 15:56

I recently dealt with a similar issue you its possible that something is blocking your ping requests. You should try to restart your modem and router (power cycle). This worked in my scenario.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.