70.4.1 Cannot Connect to Server
If we get an error indicating that we can not connect to the server, then the likely cause is that the server is behind a firewall that is not allowing connections to the VNC port. This is most likely the case for home based systems with a modem/router. We can modify the router settings to redirect the port connection to the specific host. For example, one router (a Belkin) was configured locally as IP 10.1.1.1 (but had a different ISP provided IP address that was used on the Internet to connect to it) and the computer was configured on the local network with an IP address of 10.1.1.2. The router was configured to redirect requests to connect to port 5900 to 10.1.1.2. Once the router was rebooted the connections via VNC worked just fine.
Your donation will support ongoing development and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.