Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Java viewer connecting thru router

Post Reply
timb5163
Posts: 3
Joined: 2005-09-11 02:19
Location: Iowa

Java viewer connecting thru router

Post by timb5163 »

I am trying to connect to a machine on my network at home. The machine is behind my router with an ip address of 192.168.1.x. What is the syntax for the java viewer to connect to that machine. I have port 5800 forwarded already.
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: Java viewer connecting thru router

Post by UltraSam »

UltraSam
mattice06082
Former moderator
Former moderator
Posts: 607
Joined: 2006-11-30 00:41
Location: Connecticut, USA

Re: Java viewer connecting thru router

Post by mattice06082 »

You will need to portforward both TCP ports 5800 and 5900.
timb5163
Posts: 3
Joined: 2005-09-11 02:19
Location: Iowa

Re: Java viewer connecting thru router

Post by timb5163 »

I forgot to mention that I have 7 machines behind the router and UVNC running on all of them. How do I target a specific machine with the java viewer. I use the syntax machineIP:5800 from inside my network but what do I do outside. Thanks
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Java viewer connecting thru router

Post by bevtech »

you would have to port forward two ports for each of the machines..


computer A 5800 5900 >>>>>internel ip example 192.168.1.2
computer B 5801 5901 >>>>>internal ip example 192.168.1.3


If you use dhchp for your ip address see if your router supports ip accress resverations..
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
chipmunk
8
8
Posts: 13
Joined: 2006-07-28 02:49

Re: Java viewer connecting thru router

Post by chipmunk »

bevtech wrote:you would have to port forward two ports for each of the machines..


computer A 5800 5900 >>>>>internel ip example 192.168.1.2
computer B 5801 5901 >>>>>internal ip example 192.168.1.3


If you use dhchp for your ip address see if your router supports ip accress resverations..

Good Day,


What if the router only supports up to 10 slots of portforwarding? And there are 20 workstations.
mattice06082
Former moderator
Former moderator
Posts: 607
Joined: 2006-11-30 00:41
Location: Connecticut, USA

Re: Java viewer connecting thru router

Post by mattice06082 »

Would using the UltraVNC viewer be an option? It doesn't require an install and can be run from a USB flash drive. If so, you could set up the repeater in Mode I on one of the machines within your LAN and have each machine listening on the same port (default is 5900) and make connections via the repeater. That way you only need to set up port forwarding to the machine running the repeater.
Post Reply