Below is what you need to try
I had the same problem you may have a firewall blocking everything.
Nags guide helped me a lot
Nag updates the guide as things come up it's the Best!
Troubleshoot: Your server might came with a firewall installed, which would block the VNC connection attempt. We'll setup a firewall later in the guide, so for now we can disable this firewall if it exists. To find out, type the following in Putty while login as root to list the filter table of iptables:
Code:
# iptables -t filter -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination The above output means there is no firewall. If your output has entries under the 3 chains (INPUT, FORWARD, OUTPUT) and/or has more chains, then we'll need to flush the iptables:
Code:
# iptables -F
List the table again to make sure it's empty. Then try to connect with VNC Viewer again.
Bookmarks