'Docker refuses to connect to server on Google Cloud Console

Recently, I've experienced an error with running a Linux VM on Google Cloud Console. For some reason, noVNC will report that it can't connect to the server almost immediately.

This issue has only occurred recently, and I've simply been using the same line of code to run it, and it worked fine, until now.

My code in question is:

docker run -p 6080:80 -e RESOLUTION=1280x720 dorowu/ubuntu-desktop-lxde-vnc

Any ideas? I'm not very sure what I'm doing wrong.

Edit: I tested the code on a different device, it worked. Tested it on the other one, it did not. I'm now confused and don't know what to do.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source