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

Connecting to RC18 Server via HTTP browser

Post Reply
sklaventreiber2k1
Posts: 6
Joined: 2004-08-31 08:51
Location: Germany

Connecting to RC18 Server via HTTP browser

Post by sklaventreiber2k1 »

hi,

i want to get to my machine running ultravnc server rc18 via http:

the machine i want to use as a viewer, is behind a router which has only the port 80 open;

i get the error-message:

"network error: could not connect to server : dyndnsaccount:5900"


is it necessary that the ports 5800 and 5900 are open on this router to connect to my system?
if yes, is there a chance to get it running without forwarding the other ports?

im using the dsm-plugin too; could this be a reason?
redlobo
Posts: 1
Joined: 2004-09-01 16:51

Also trying to connect Via HTTP

Post by redlobo »

Try changing your port on your vnc server from 5900 to port 80.

I also am trying to connect to my computer through two firewalls. I am using my schools computers and I would like to be able to connect to my computer via vnc or a web browser through the schools firewall/rounter.

I can run UltraVNC Viewer off my thumb drive. I have setup the VNC Server to run on port 80 and the http on port 443. I have setup my router to forward ports 80 and 443 to my internal computer address of 192.168.0.*. My real IP address as seen by the internet is 254.58.18.*

Try #1.
Whenever I try to connect to my computer via HTTP at the address: http://254.58.18.*:443 it will connect to my computer and download the java app and run it. However it gives me a "Network error: no route to 254.58.18.*" Have I set up the http port wrong or is the schools computer blocking the ports? Should I use port 80 for the http?

Try #2
I have run the vncviewer off my usb thumb drive and have tried to connect to my computer with the ip of 254.58.18.*::80 but no connection was established. I also tried port 443 for the heck of it. Could my schools computer be rerouting the traffic to a different port or blocking it entirely?

I can connect to my computer from another computer on my lan using the outside ip address with no problems. So I believe my schools firewall is blocking the traffic, but I would think that since I can surf the web port 80 would be open to me.

I am using the ports wrong, or do you know of another solution that would work to use VNC.

Thanks,
John
dawwwgy

Also trying to connect via HTTP

Post by dawwwgy »

I basically have the exact same issue here as my work uses a proxy and only allows port 80. When I try to connect to my home computer with ports forwarded to 5800/5900 I can get to the java logon but then when i enter the password i get network error:no route to server ;)

I am ripping my hair out....
HELP!
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6862
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

The java viewer is distributed using the http protocol on port 5800.
But the jva viewer connect direct to the server on the standard
5900 port.

For getting the logon java window, you only need 5800, but to make the actual connection 5900 is also needed. This is a direct connection and can not be run over a proxy.

There is a second problem, the server pass his adress to
the java viewer. If you server is behind a nat router, this adress is useless, it should be the router adress.
But this ip adress is not known by the server..

Web access has problems with a nat router
Guest

Post by Guest »

Try in this way:
1) Install an SSH Server on your home's PC (OpenSSH).
2) On the host behind a firewall connect with an SSH client supporting HTTP Proxy (like PuTTY) to your home's PC creating a forward from local port 5800 and 5900 to ports 5800 and 5900 of your home's PC (SSH Protocol allows this, you have to set the ports forwarding in the PuTTY conf.)
3) Launch a browser connecting to http://127.0.0.1:5800: the ssh client will forward packets to remote 5800/5900 ports using a tunnel passing through the HTTP proxy selected.

I have'nt try with a proxy between the hosts and I don't know if it works, but I've try to connect a VNC client to a VNC server passing trough a SSH tunnel with port forwarding and works fine for me.
Don't forget to set "Allow loopback connections" in your VNC server settings.
Guest

Post by Guest »

Hi,
with the method you describe above you will be able to connect FROM the work PC to your home PC.

But what about the reverse link? I have not been able to find any way to do that!
This is because the work PC is behind a firewall and I cannot connect to it. I should find a way to force a reverse connection but seems not easy to me (nothing I tried worked)
firstsacker

http and viewer

Post by firstsacker »

I am running several pcs through this type of connection and ive had no problems whatsoever. i am behind firewalls for all instances. what i did find was that you have to have 5800 and 5900 both open to the specific machine. then when you connect via http, use the wan ip with 5800 (http://yourip:5800). obviously if you are using different display #s for different machines, change the last port number 5801, 5802 etc..... hope this helps.
drewhemm
Posts: 1
Joined: 2004-10-15 10:56
Location: England
Contact:

Connecting to VNC Server through HTTP Proxy

Post by drewhemm »

Hi,

This is how I overcame this problem.

I have a Windows XP pc at home behind a NAT Router/ADSL Modem providing 512kbps. VNC Server was running on that PC. I have a Windows 2000 Pro PC at work behind a corporate firewall allowing only HTTP protocol on port 80.

After much searching on the web for ways to get through the firewall I came across www.bypass.cc This worked, although to get speeds fast enough to make it worthwhile I had to pay $5.99 (around £3.50) a month. Since then I have installed openSSH server on my home machine and set it up for public key authentication. By forwarding port 443 on my router to port 22 on my home computer I am able to CONNECT from my work PC through the HTTP proxy using PuTTY and the following setup:

Proxy 172.***.***.*** port 80 >> account.dyndns.org:443.

Not only is this using all opensource (free) software, but the connection doesn't rely on a 3rd party server. I connect straight from work to home at the full speed of both connections. PuTTY supports port forwarding and SOCKS server so almost all your applications can be run from your work / school PC to your home PC and from there to the rest of the world. This also provides web access free from monitoring because the connection is carried over an encrypted link. Your proxy administrator will know you are connecting to an outside host, but what you are sending and receiving they cannot deciper without breaking Blowfish or AES encryption!

For those who want the ultimate connection between work/school & home, there are also further tricks to allow host (computer) name forwarding and file sharing...applications that could only previously be run over a LAN can be run over secure HTTP via the public internet!

You can also forward port connections from home to work, i.e. from server to client...

Mail me if you need more details...

Regards,
Post Reply