VNC applet through a proxy connection

Posted on 2002-06-12
Medium Priority
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 ?
Question by:ahTri
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

Expert Comment

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.

Expert Comment

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

Author Comment

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 ?
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.


Author Comment

ID: 7074183
I add from 5800 to 5809 but no luck

Expert Comment

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

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


Accepted Solution

jmiller47 earned 150 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.


Expert Comment

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.

Author Comment

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

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

777 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