OK. I will try to provide a step by step procedure here. Of course, I just assume the general condition, as I can't take care if any firewall or antivirus that may block the VNC traffic.
1. First of all, just let the UVNC server working under "Auto". The Display or Ports settings are not taking part when connection to the repeater. And the command mentioned before had been entered into the "ultravnc.ini"
2. For the repeater, use the setting as the picture below: Sorry, the picture is not completely correct, the "Listen port viewer" should be 5901 (not 5501)
3. At the viewer, enter the ID and Repeater IP & Port as below:
4. Also, click the Viewer's Option...., at the box of "reconnection attempts", enter a positive digit (say: 5) to replace the original 0.
You may see this thread for a brief explanation by the developer:http://forum.ultravnc.info/viewtopic.ph ... 19&start=4
Now you may try the connection. Hope you will be success.