[SOLVED] ping 8.8.8.8 works but failed to ping http://www.google.com/

Lim Sing
May 8, 2021

--

  1. Need to add a nameserver in /etc/resolv.conf file by running this to modify:

run vi /etc/resolv.conf

2. add this line to the file :

nameserver 8.8.8.8

3. Run this to verify:

ping -c10 www.google.com

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Lim Sing
Lim Sing

No responses yet

Write a response