Solved

VNC applet through a proxy connection

Posted on 2002-06-12
8
1,261 Views
Last Modified: 2008-03-04
My VNC server is behind a proxy (squid) and SmoothWall firewall, I create a port forwarding for 5800 on the firewall to point to my VNC server local net IP.

the client is connected via ISP dialup to open http://private.sonacom.com.au:5800

the first page of VNC is bring up to prompt for password, but after login the applet has exception java.net.UnknownHostException: private.sonacom.com.au:5800

What am I missing ? Do I need to forward any other port for this ?
0
Comment
Question by:ahTri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 7

Expert Comment

by:jmiller47
ID: 7073542
Open up 5800-5900. You might be able to get away with less, but initial connections are opened through 5800 and the actual sessions are using ports between 5800-5900.

I suggest opening that whole range for that application.
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7073543
BTW - That is what VNC (AT&T) recommends also...
0
 

Author Comment

by:ahTri
ID: 7074175
I can add 10 ports but adding 100 port is quite a night mare, is there anyway to find out which port the server is open ?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ahTri
ID: 7074183
I add from 5800 to 5809 but no luck
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7074314
cant you open a range? That is what they call for...

But this may be what you're looking for...

http://www.uk.research.att.com/vnc/faq.html#q53
0
 
LVL 7

Accepted Solution

by:
jmiller47 earned 50 total points
ID: 7074315
Q53 Which TCP/IP ports does VNC use?
A VNC server listens on two ports. The exact port numbers depend on the VNC display number, because a single machine may run multiple servers. The most important one is 59xx, where xx is the display number. The VNC protocol itself runs over this port. So for most PC servers, the port will be 5900, because they use display 0 by default.

In addition, VNC servers normally have a small and very restricted web server built in, which allows you to connect a browser to them and use the Java viewer. This runs on port 58xx. Note that this is the HTTP port used for downloading pages and applets, but once the applet is running it uses 59xx for VNC just like any other viewer.

The servers can be changed to listen on other ports if, for any reason, these are not suitable for you. See the server's documentation for more details. Most of the viewers, if given a display number larger than 99, will interpret it as a direct port number and will not add 5900. See also the next question.

If you are running a viewer in 'listening' mode, where it accepts connections initiated by the server, it will listen for incoming VNC on port 5500.

0
 
LVL 3

Expert Comment

by:kinsey
ID: 7085003
See jmiller47's answer and open ports 5900 and 5800 , not the range 5800-5900.

On windowz that's all you need, for linux/unix pen 58xx and 59xx or configure the server to fource the port you want.
0
 

Author Comment

by:ahTri
ID: 7085143
It's work now, I open 5800 and 5900
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question