← Mac Change Notes

Ping Works, but the Website Does Not

If ping works but a website will not load on your Mac, first reload the exact URL in Safari and note its error. Ping tests an ICMP response, not the website's port, TLS connection, or HTTP response.

In this article

Start with the failing page

Press Command-R in Safari, check the spelling and scheme of the URL, and record what happens. “Cannot find the server,” a connection error, a certificate warning, and an HTTP error page are different observations. A blank page after loading is another distinct case.

Apple's Safari troubleshooting guide starts with reloading and provides further browser-specific checks. Compare a different website, then the same URL in another browser or on another device if available. These comparisons narrow the affected scope; they do not, by themselves, identify a particular faulty setting.

Avoid resetting several network settings at once. If DNS, proxy, browser data, and software configuration all change together, a later success will not tell you which change mattered. A successful ping is especially weak justification for one specific repair.

What a ping reply actually tells you

Ordinary ping uses ICMP echo messages. A response tells you that the selected target answered that probe at that time. It does not open the website's TCP port or request a webpage. Cloudflare's ICMP explanation explicitly distinguishes ICMP from TCP and UDP and notes that ICMP does not target a particular port.

ObservationUseful conclusionConclusion you cannot make
Ping replies from the tested addressThat target responded to ICMPThe website is working
A TCP connection succeedsThat TCP endpoint accepted the connectionTLS and the application request will succeed
An HTTP response arrivesA server answered that HTTP requestEvery page, login, or browser feature works
Ping receives no repliesNo echo replies were observedThe website must be down

The last row is just as important as the first. A web service can be reachable when ICMP is filtered or unanswered. Different protocols can encounter different rules and behavior.

A hostname also adds another detail: name resolution chooses an address before the ping can proceed. Pinging an unrelated public IP does not test resolution of the website's name. Even a hostname-based ping need not exercise every resolver or address choice made by the browser; our Mac resolver comparison explains why tool results need context.

One Mac, two server states, the same ping result

We ran a controlled experiment on macOS 15.7.5 on November 17, 2026. A small HTTP server listened only on 127.0.0.1, the Mac's IPv4 loopback address, using an automatically assigned port. It returned a simple test response. We sent two pings and made an HTTP request, stopped that server, and repeated both checks against the same address and port.

Server statePing to 127.0.0.1HTTP request to the test port
Our HTTP server listening2 replies from 2 probesHTTP 200; curl exit 0
Our HTTP server stopped2 replies from 2 probesConnection failed; curl exit 7

What this proves: the same host can answer ping while a particular service is unavailable. The host's ICMP response and the HTTP listener's availability are separate observations.

This was an owned loopback experiment. It did not cross Wi-Fi, a router, a VPN, or the public internet, and it did not use TLS. It demonstrates the logical limitation of ping; it does not reproduce every possible cause of a remote website failure. No firewall or network setting was changed.

The HTTP test bypassed proxies for this loopback request so the test stayed local. That detail is part of the experiment's setup, not a recommendation to bypass a proxy required on your network. The server was stopped after the test, and the original commands and outputs were retained.

Match the next check to the error

When the browser reports a name-resolution error, investigate the exact hostname. When the connection is refused, investigate the particular service endpoint. When the browser reports a certificate problem, preserve the warning and check the hostname and certificate issue instead of treating ping as evidence that the connection is safe.

Our connection refused versus timeout guide separates those two outcomes. Neither error should automatically be translated into “the firewall caused it.” Likewise, port 443 alone does not prove encryption: a port number is not a substitute for a successful, verified TLS connection.

Apple's Safari troubleshooting page showing the Reload the page section.

Screenshot: Apple's Safari guide starts with reloading the affected page. Captured November 17, 2026.

For readers comfortable with Terminal, a bounded request to the same public URL can add evidence:

curl --connect-timeout 5 --max-time 10 -I https://example.com/

Replace the example with the URL you are investigating. The curl manual documents the header request and the two finite time limits used here. Use it as a diagnostic observation, not as a replacement for the browser: the server may handle this request differently, and curl does not share all browser login state, extensions, rendering behavior, or network configuration.

Do not paste session cookies, private authorization headers, or a signed private URL into a support report. Usually the hostname, non-sensitive path, time, error text, and test result are enough to begin the conversation.

Keep the result specific

A useful troubleshooting note says: “At this time, this hostname resolved to this address, ping received replies, and this exact URL produced this error.” That is more actionable than “the internet works” or “DNS is broken.”

Also record whether the comparison used the same network, address family, device, and browser. A test on another device can be helpful precisely because it changes one of those conditions; do not silently treat it as an identical path.

The next action should follow the layer that failed. Reload and compare first, preserve the actual error, and then test the relevant name, connection, or application behavior. Ping remains a useful narrow measurement as long as its successful reply is not asked to prove the rest of the website works.