Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

connecting behind routers: what I've done wrong

Post Reply
rpking
Posts: 1
Joined: 2004-06-05 09:24

connecting behind routers: what I've done wrong

Post by rpking »

Hi,

I am a newbie to ultravnc, and I have tried but failed to
connect two computers behind routers using repeater. I'll
describe in detail what I've done, and I would really
appreciate if someone can point out what I've done wrong.
The ip given below are just for illustration purpose; they
are not real.

Background: Want to run my office's computer as the server,
and remote control the computer from my home. I installed
ultravnc RC17, and both computers run WinXP professional.

(1) At my office:
public (external) ip: 140.190.212.121
internal ip (given by a D-Link router): 192.111.1.111
(2) At my home, I use a cable modem service, and I have a
Linksys router in my home for direct cable connection
or for wireless connection to the internet. The home
computer thus has a public ip and an internal ip
forwarded by the router.

What I've done to attempt the connection:

(A) At my office's computer, which is designated to be
the server:
(a) Run "vnc_repeater 5901" from the cmd (MSDOS) box.
The following messages appear in the cmd window;
leave the box alone as is.
UltraVnc> socket() initialized
UltraVnc> bind() succeded to port 5901
UltraVnc> listen() succeded
UltraVnc> Waiting for connection ...
(b) Start Ultr@VNC Server. In the Property tab, check
the box of "Allow Loopback Connections".

(B) At my home's computer:
(a) Start Ultr@VNC Viewer; a window pops up. In the
"VNC Server:" box near the top of the window, put in
192.111.1.111::5901
. Then, at the bottom of the window, check the
Proxy/Repeater box, and put
140.190.212.121::5900
in the next box.
(b) Click on the "Connect" bottom. Unfortunately, after
a few seconds, the message "Failed to connect to
server!" appears.

I also tried using single ":" instead of double "::" in the
above ip inputs; ip inputs without "::59xx" in both of the
boxes or in only one of the boxes; switch 5901 and 5900.
All of them are not effective.

I also tried not using the router in my home, thus directly
connecting the computer to the cable from the wall. It
didn't help the VNC connection. Is the D-Link router at my
office's end to be blamed?

Any advice will be greatly appreciated!

Ron
Leonard

Port Forwarding

Post by Leonard »

You need to set your linksys router to forward TCP port 5901 to your server (192.111.1.111).
RobH
Former moderator
Former moderator
Posts: 113
Joined: 2004-05-03 18:04
Location: Chicago, IL

Post by RobH »

Just guessing but you said you selected allow loopback but is it set in the registry correctly? I think a loopback.reg file may be in the zip. :D
Post Reply