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
- 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

Simple guide to using the Javaviewer with/without Repeater?

Post Reply
jksmurf
20
20
Posts: 56
Joined: 2006-05-24 02:30

Simple guide to using the Javaviewer with/without Repeater?

Post by jksmurf »

OK, I'm well and truly stumped, I've read a bunch of posts about the Javaviewer and blank white screens and this error (observed when you choose Tools, Sun java console in IE) and now my head hurts.

"Network error: Could not connect to server: XX.XX.XX.spam:5900"

My post relates to an error (post#13) in this earlier thread, but there doesn't seem to be a clear solution in the forums. Java reports I am using Using JRE version 1.5.0_08 Java HotSpot(TM) Client VM.

[topic=2774][/topic]

These fellows had similar experiences, so it appears I'm not alone (whew :oops: )

[topic=6662][/topic]
[topic=7983][/topic]

A. I have now been a VNC user for 6 months (still a newbie!) and use it on a regular basis, with DSM and a repeater. I have ports forwarded in both my router and firewall. What I would like to do is this:

1. Simple Java Access for testing. Access my PC using the Javaviewer but not through the repeater. I understand this is possible without the DSM plugin (unchecked), and with the repeater (proxy) boxes unchecked in the VNC server setup screen. I cannot however get this to work even when I turn OFF my windows firewall. Java loads up, then I always get this blank white screen.

Image

btw, as asked by others in that thread above why is it trying to connect to port 5900 when I point it to 5800? [EDIT]Post 32 [topic=5354][/topic] of this thread explains why.

B. How do I go about doing these next steps in simple terms?

2. More Advanced Access using a SSL (which I understand offers security similar to the DSM plugin). I am not sure exactly what to do on the oft-referred-to page http://sc.uvnc.com/javaviewer/index.html?
3. More Advanced Access using a Repeater.
4. More Advanced Access using a Repeater and SSL.

I'd be very very grateful for some hand-holding here, if someone is kind enough to guide me in the right direction. I'm willing to try all (polite) suggestions at this stage ...

I do not have msjava.dll in %windir%\system32.
UVNC 1.0.2
Repeater 1.1.07
I forward 800->5800 and 900->5900.

Cheers,
k.

[EDIT]This post [topic=5942][/topic] might be shedding some light on it. He says
I was having this problem and what I did to solve it was to make sure that the matching 5900 port was forwarded in the firewall as well. For example, its not enough to just forward 5800 for web access, you need to forward 5900 too. It looks to me that what happens is that basically port 5800 just downloads the java viewer, which then tries to reconnect to the server at port 5900. So both ports need to be open. This confused me for a while, because i didn't have 5900 open (since i just want the web access).
Correct me if I'm wrong here, but it "sounds" like because I only forward 900-> 5900 and not 5900->5900, Javaviewer gets confused? i.e. I call up Javaviewer on http://<myip>:800 which goes to my pc at 5800, which then calls back for 5900, but 5900 is not forwarded to 5900, only 900->5900.

If this is TRUE, unless I go back to all the stock forwarding port no.s how do I get Javaviewer to "call back" on 900 rather than 5900. What do I have to edit?

[EDIT2]This appears to be TRUE! For now I let 5900->5900 in my firewall and I can use javaviewer, without DSM of course. Next step is via the repeater and with SSL. Thanks for your help!

k.
Last edited by jksmurf on 2006-10-20 04:24, edited 3 times in total.
jksmurf
20
20
Posts: 56
Joined: 2006-05-24 02:30

Re: Simple guide to using the Javaviewer with/without Repeat

Post by jksmurf »

Still trying to get to through on this, can anyone shed some light on it?

Cheers
k.
splendid
Posts: 1
Joined: 2010-10-06 15:32

Re: Simple guide to using the Javaviewer with/without Repeat

Post by splendid »

Hello

Did you figure out how to bypass this automatic port assignment ?

I am trying to do exactly the same thing, (I forward ports 80->5800 and 9000->5900), so the Javaviewer tries to connect to port 5900 but it is not forwarded.

Is there any way to choose the port with the Javaviewer?
jksmurf
20
20
Posts: 56
Joined: 2006-05-24 02:30

Re: Simple guide to using the Javaviewer with/without Repeat

Post by jksmurf »

Sorry I gave up. Still like to know though!
Post Reply