Solved

VNC applet through a proxy connection

Posted on 2002-06-12
8
1,241 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
  • 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
 

Author Comment

by:ahTri
ID: 7074183
I add from 5800 to 5809 but no luck
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now