Why My Terminal Can’t Ping WWW.GOOGLE.COM

I enable to visit the googleUrl , But My Terminal Can’t Click The http://www.google.com ( Use ping http://www.google.com ) . My Popose is to downloading the homebrew , Can’t download ,so I use ping . By the way , I successfully ping http://www.bing.com

Given connectivity issues getting to google.com and to brew.sh, your local network or ISP link seems rather recalcitrant.

Using the usual and expected ping syntax fails?

ping www.google.com

ping 1.1.1.1

Note: ping doesn’t use URL syntax, if you're trying to use that syntax here.

That first command pings Google, and the second Cloudflare.

That ping failure would usually mean your local network routing or DNS is misconfigured or malfunctioning, you’ve an add-on VPN installed and that’s malfunctioning, or you’re encountering a firewall or network filter somewhere locally or in the network path.

Or your local Wi-Fi or wired or ISP connections are unstable.

What Apple suggests for troubleshooting:

https://support.apple.com/en-us/101588

IP network troubleshooting discussions are probably best over in the Apple community forums too, in the community for macOS Sequoia or whichever other version is in use.

https://discussions.apple.com/community/macos/sequoia

Why My Terminal Can’t Ping WWW.GOOGLE.COM
 
 
Q