I have a vps server on Centos and I have installed a vnc server by this tutorial:
how-to-install-vnc-server-on-centos-6
Well the server is running but I can't connect to it, I have scanned by nmap and I cannot find the port 5901
. I tried to disable iptables but I got nothing!
I have already added this line in ip tables and save/restart it but it doesn't work!
iptables -I INPUT 5 -m state --state NEW -m tcp -p tcp -m multiport --dports 5901:5903,6001:6003 -j ACCEPT