vncserver not opening port

I have been trying to get my vncserver fixed, it seems that I broke something when I was trying to get it working with the ubuntu gnome desktop, basically, I’m pretty new to linux and I no longer know what I did but I had someone with more experience look into it and they couldn’t figure it out either.
The issue is that the vncserver runs and the ports appear to be open on the linux machine to which I only have access via ssh, but when I try to access those ports from another machine or even scan the server (its local) for open ports the only ones I get are the ssh and port 80 for nginx.
I’ve tried resetting the vncserver several times and I’ve also ensured that the firewall wasnt blocking them.

Go to Source
Author: Vlad Duh