When I try to connect to my vncserver it gives me the Error:
Error in TightVNC Viewer: No connection could be made because the target machine actively refused it.
I initially solved this by adding ::5901 to the end of my ip address… After being unable to open the browser trouble i “rebooted” server and since then I have not able to connect to the vnc server.
I can see the server is running when i type vncserver -list and have tried killing that server and starting a new one. How do I know what port my server is running on or how can I change it?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.