Answer the question
In order to leave comments, you need to log in
How to open port :::5901 on vps?
No packets reach port 5901 at all.
And they reach port 22, the result of the netstat -nltp command gives 2 lines for ssh
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1853/sshd
tcp 0 0 :::22 :::* LISTEN 1853/sshd
and for vnc only
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 2705/Xvnc
how to make the same line appear for vnc ?
tcp 0 0 :::5901 :::* LISTEN 1853/sshd
port only, no address
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question