Preventing users configuring VNC 138 Managing system authentication 141. Latest version of VNC Viewer and a host computer running the same version of VNC Server with an. Differently under UNIX and Mac OS X, or versions of Windows with different themes, but the principle is the.
![Viewer Viewer](http://i1-win.softpedia-static.com/screenshots/VNC-for-Windows_13.png)
![Vnc Vnc](/uploads/1/2/5/5/125528234/218388713.png)
This isnt a pi specific problem, but all pcs. First of all, you have to own a valid IP address. If so, you can use port redirection to your pi. If you have dynamic IP, you have to use some tool like no-ip.org to update your ip to a domain name, like yourdns.no-ip.org. Once you have one PC doing that, you could redirect one port to each pi, like yourdns.no-ip.org:9001, yourdns.no-ip.org:9002. Again, it is not a pi specific problem, so may be you could search for dynamic DNS name and modem port forwarding to do what you want. There are literally many ways for doing this for which what you need are static IP address and port forwarding on the router.
Your condition may vary depending on what you have access to and on what side (client or server). In my case, I had no access to the router and no static IP on both sides. But, I had access to a third-party server which I used for the connection.
In short, here's what I used to do: I used ssh tunnel for port forwarding and a third computer with a static IP to solve dynamic IP related problem. If you have access to an ssh server, you can follow the procedure from this. Discover your IP, I guess you already have it. I realize this post is old, but thought I might have some useful info. To connect to my pis via VNC on different networks and without port forwarding I use the website: You can make a free account, then, in the terminal of the pi, you can run the commands: sudo apt-get update sudo apt-get install connectd sudo connectd Then follow the steps in the installer and you can view and control all your devices (as long as they have a route to the internet, or even cellular) from anywhere. You can also follow this video once you have an account/the installer: Full disclosure: I'm actually an intern at remote.it this summer, but I thought it might be useful for you.
Is it possible to specify VNC port number in built-in VNC client of Mac OS X? I'm trying to connect to Xen VPS machine with Finder's built-in VNC client. I used address like this. Vnc://server:port But it fails because it uses another port, and Finder's built-in VNC cannot handle port number. As I know it handles the number after colon as display-number, not a port number.
Is there a way to specify port number on the VNC client? Or any workaround for this? (port forwarding???
I have no idea about it.). A VNC display number is just another way of specifying a port. Display 0 is, by convention, port 5900; display 1 port 5901 and so on, so if the port your server is using is close to 5900, you can simply subtract 5900 and use that as the display number. Contrary to what you say, Mac OS X's screen sharing client does accept port numbers with a vnc://server:port url.
Either use open from the terminal as Michael Dillon suggests, or select 'Connect to Server.' From the Finder's 'Go' menu, and type the address in.
Finally if that won't work, it may be that your VNC client and server are incompatible - the Mac OS X VNC server is certainly a bit idiosyncratic. Try downloading a different VNC client such as. If that doesn't work, you'll know that it's not client issues and could be something like a firewall getting in your way. Whether or not you are able to connect to the port you wish may depend on your router configuration. You may need to configure some port forwarding from the NAT settings of your router. If your router has a public IP address, say 123.123.1.1, but your computer has a local IP address only (e.g. 192.168.x.x or similar, depending on your ISP) you need to forward port 5900 of your router to port 5900 of your computer so that any incoming request on port 5900 of your router is forwarded onto port 5900 of your computer.
How to do this depends on your router and internet configuration, but look for some advanced setting under the NAT configuration. I just did it for me, successfully. Both using open vnc://server:port from terminal or Finder Connect to server vnc://server:port work fine.