Localhost can be any dns name or ip address.
Local ip/names ony works within your LAN, for WAN you need to use official ip addresses.
Using a repeater
What”s a repeater ?
When your viewer or server is behind a nat router he has a local ip address. Usual this is something like (192.168…, 10.0…). This is unreachable from the internet as you need an official ip address for it.
A repeater is a software that you run on a server with an official ip address, somewhere on the net.
The server and viewer announce themselves to the repeater and when the repeater find 2 identical ID’s he connect the stream. You always need to use encryption + password in combination with ID’s, the ID on his own doesn’t offer any security.
When you start the repeater.exe it run in the tray and you access the option with a webbrowser.
http://localhost:80 ( if port 80 is in use the portnumber is added 1 (80,81,82..) until an open port is found. The default logon admin with password adminadmi2.
After you connect the viewer to the repeater he is visible in the repeater stat page.
Uvnc server systray: add New Client Allow you can make a connection to the repeater
5500 is the repeater server listen port
This result in a connection
Can I use the repeater when Uvnc server is running as service ?
-autoreconnect ID:123456789 -connect localhost:5500
The service connect the server in a loop to the repeater.