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

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

--

--

--

I am a Backend Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to improve performance using memoization in React? [pt.1]

Build Your Own News Search Engine with Algolia

CSS vs Bootstrap vs Tailwind CSS

How JavaScript works: Service Workers, their lifecycle and use cases

[Action required] Your RSS.app Trial has Expired — Tue Jan 18 2022

Gatsby.js & Parallax

The slowest sorting algorithm ever

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lim Sing

Lim Sing

I am a Backend Developer

More from Medium

We Are DES: Meet Joe Norwood

Meet Joe Norwood

Life, Death, and Everything In Between

WHAT IS MULTITHREADING ?

How HR Professionals Can Better Help Employees Going Through a Rough Time