K
K
Kir2016-12-09 20:17:20
linux
Kir, 2016-12-09 20:17:20

Can't connect to VNC from Windows 10, what could be the reasons?

Hello.
Installed on vps server Centos 6.8.
According to the manuals, I installed a vnc server.
Manual
Everything seems to be as it should, but it does not connect.
With the netstat -nltp command, I see it hangs and listens on port 5091.
In iptables this port 5091 is open.
What else is needed? Please help. Help out linuxoids.
ps A couple of hours earlier I installed the same distribution kit on the same server with the same settings and installed vnc according to the same manual, but as it turned out, I allocated only 20 GB of hard disk space for the OS, and it was decided to rearrange the system by repartitioning the disk.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
anikavoi, 2016-12-10
@anikavoi

telnet vncserver.ip 5091
If it doesn't connect, disable the firewall on the server and repeat. So we understand where the rake is - in the firewall or in the vnc server.

A
Alexey, 2016-12-09
@alsopub

1) netstat -lnp - you have already checked (what address is vnc listening to?)
2) iptables --list - check if the rules work (iptables restart may be required)
3) ifconfig - make sure what ip is on the server and whether vnc is listening (or 0.0.0.0)
4) check which ip you are connecting to (ping ip - check for availability)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question