I changed my machine type(GCP) by stopping the instance, after increasing the machine type I restarted the instance and now server stopped working, the website is down now. Upgraded from 1 vCPU, 1.7 GB memory to 2 vCPU, 4GB memory. And if I select other than 1 vCPU, 1.7 GB memory, the webserver doesn't respond. Also, I can't access SSH from a web browser it gives me an error that "Connection Failed. We are unable to connect to the VM on port 22."

Log: https://pastebin.pl/view/2af02149

  • Have you changed the default SSH port on the VM? – Christopher H Aug 11 '20 at 4:25
  • @ChristopherH No, I didn't change that – Sandeep Kumar Aug 11 '20 at 17:41

How to Handle the "Unable to connect on port 22" error message OR create a snapshot of the troubled instance and use that snapshot to create an instance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.