Cannot use git clone on GCP server

0

My Google Cloud Platform server is suddenly unable to download anything via wget, git clone, and unable to apt-get install anything.

--2019-05-07 14:48:02-- http://google.com/ Resolving google.com (google.com)... failed: Temporary failure in name resolution.

When trying to git clone repositories:

ssh: Could not resolve hostname bitbucket.org: Temporary failure in name resolution fatal: Could not read from remote repository.

I did not make any changes to any configuration files. I am able to SSH into other servers from this GCP server, so it's not an internet connection problem. I'm also able to git clone the same repository successfully on other servers.

Dominique

Posted 2019-05-07T12:58:11.437

Reputation: 101

No answers