netutilus

ICMP vs TCP Ping

ICMP ping, the one Terminal's ping command sends, is a tiny echo the host's system answers itself and uses no port; TCP ping times how long it takes to open a connection to a port, such as 443 on a web server. Many servers and firewalls block ICMP, so a host can look down to ping while its website works; if one mode times out and the other answers, the host is up and something blocks the first. Ping in Netutilus for macOS does both, TCP by default, and you can switch between them.

Updated

Download on the Mac App Store ↗

free to download · macOS 14.6 or later

There’s more than one way to ask a host “are you there?”. Ping offers two.

ICMP echo

The classic ping, the one ping in Terminal sends. It’s a tiny message the host’s system answers itself, no service needed. That makes it the purest measure of the network, but:

  • many servers, firewalls and some networks block it, so a host can look down while it’s working fine;
  • routers on the way may treat it as low priority.

Traceroute and MTR use ICMP, because the routers’ replies to it are how a route is found.

TCP connect

Netutilus’s default: it times how long it takes to open a connection to a port, 443 unless you pick another, and closes it at once. Every web server answers on 443, so this works where ICMP is blocked, and it measures what an app’s connection actually goes through.

  • If the host answers that nothing listens on the port, the probe counts as lost, labelled Connection refused. The host is up, but that port isn’t the one to time.
  • A connection takes a little more work than an echo, so times can be a millisecond or two higher.

Which to use

  • TCP for websites and servers you connect to, and anywhere ICMP is blocked.
  • ICMP for routers, devices at home, and comparing with tools that use it.

If one mode times out and the other answers, the host is up: something blocks the first.

Run it on your own network

Netutilus puts every network tool in one app. Free to download; Pro is a one-time purchase, never a subscription.

Download on the Mac App Store ↗

See also

  • PingSends probes to a host one after another and shows how long each answer took, and which never came.
  • PortsThe numbered doors on a device that each service listens behind.
  • Path CheckShows how your Mac reaches the network, and whether a host answers on the ports you need.
  • Hops and TTLHow traffic crosses the internet one router at a time, and how traceroute finds each one.
  • TracerouteLists every router between your Mac and a host, and how long each one takes to answer.