[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


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 ?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

656 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