Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

can´t connect via web

Post Reply
walli
Posts: 3
Joined: 2004-09-19 17:21

can´t connect via web

Post by walli »

hi,

I installed server and client and when I do tests in my LAN, then everything works fine.

But when I try to connect from outside I get this message:

failed to connect to server (when I just type in the ip, that I got from whatismyip.com)

or

Invalid VNC server specified (when I type http://ip , that I got from whatismyip.com)

The server is running behind a router.

thanks for your help in advance,
Walli
NightRyder
80
80
Posts: 157
Joined: 2004-08-15 08:33
Location: WA, USA

Post by NightRyder »

did you make sure to forward the correct ports to the correct computer with your router?
using latest code.... always... except when im not.
Guest

Post by Guest »

i am using a fiberline router, so under Virtual Server settings I entered both 5800 and 5900, for the computer where I have the server running.
walli
Posts: 3
Joined: 2004-09-19 17:21

Post by walli »

by the way, I also made a portscan - it told me that the ports 5800 and 5900 are open.
And in the meantime I also use a dnydns address, but nothing helped so far...

I am using latest version of UltarVNC
ipsec
Former moderator
Former moderator
Posts: 565
Joined: 2004-09-20 18:56
Contact:

Post by ipsec »

If you are trying to connect to a computer via a web interface you must specify the URL with the port that you wish to connect with.

e.g. http://192.168.1.1:5800

try that and it should work.
Guest

Post by Guest »

Ipsec wrote:If you are trying to connect to a computer via a web interface you must specify the URL with the port that you wish to connect with.

e.g. http://192.168.1.1:5800

try that and it should work.
I tried it via web

I tried it via client, but nothing seemed to work

I tried to enter the dynamic IP, I tried to enter the dyndns address, I tried it with http:// before these addresses and without, but nothing seems to work.

If I coonect directly via my network, everything works fine, but if I want to test the connection via Internet, it doesn´t
ipsec
Former moderator
Former moderator
Posts: 565
Joined: 2004-09-20 18:56
Contact:

Post by ipsec »

have you tried using the Internet Address (outside) address and connected to it via your networked computer (internal)?

e.g. Computer A (192.168.1.10) connects to Computer B (192.168.1.11) via the web address http://65.45.1.1:5800 ?

If not since you said you set up the port forwarding there must be one of a few things that stick out to me.
1)Your router is not properly passing through the right port to the computer specified. (Check routers forum / FAQ from manufacturer)
2)You have some sort of firewall on that allows local addresses to connect but not internet addresses to do so. (Temp disable firewall)
3)The port specified on the server is not the standard 5800-5900. (Since you said you only typed in the http://ip as the url)

A good test for this would be to set the computer up in the DMZ and remove any port forwarding rules. This ultimately should pass all requests going to your router to the "Server" and then it should work.

If that works then either your router doesnt like the specified port, and or it doesnt work very well with port forwarding.

Hope this helps.
walli
Posts: 3
Joined: 2004-09-19 17:21

Post by walli »

Ipsec wrote:have you tried using the Internet Address (outside) address and connected to it via your networked computer (internal)?

e.g. Computer A (192.168.1.10) connects to Computer B (192.168.1.11) via the web address http://65.45.1.1:5800 ?
exactly! if I connect directly it works, but if I try to connect via web address it doesn´t

I also got into contact with the manufacturer, but they only tell me what I already know (plus they want me to put the Computer in the DMZ ... which also didn´t work.

So I think there are three possibilities:

-the combo router/VNC simply doesn´t work

-it only works if really someone from outside tries to connect via web address, but this would be strange, or?

- the router gives the IP to the computers (the IP don´t change, the router gives a "static" IP to every computer in the network.
But perhaps I I have to turn this of and use the TCP/IP properties of the computers to "generate" the IP´s in the network. But I don´t know if this would help

so perhaps I simply give up on this topic :-(

best regards and thanx,
Walli
ipsec
Former moderator
Former moderator
Posts: 565
Joined: 2004-09-20 18:56
Contact:

Post by ipsec »

tell them that the router blows and you want a better one on their dime.

Sometimes it works

sometimes it doesnt.. :-)

But sounds like you have everything set up the way it should be.. sorry but If it doesnt work in the DMZ something is hosed on your router..
Guest

Post by Guest »

okay - the problem is solved!

actually there was never a problem, because I was right with my second intention:
it only works if really someone from outside tries to connect via web address, but this would be strange, or?
Today a friend tried to connect from outside via web, and it worked without problems.

So it´s possible to do this internally, it´s possible to connect from outside through the router.
But it´s not possible to get out and then back again.
Don´t know why, but this doesn´t matter- just could have saved me a lot of worries!

thanx,
Walli
[/quote]
ipsec
Former moderator
Former moderator
Posts: 565
Joined: 2004-09-20 18:56
Contact:

Post by ipsec »

glad you got that to work for yourself but really if you have port forwarding set up to go to a server address, even those requests from the internal network has to traverse your router and in turn should be directed to the correct computer..

or so in theory.
Guest

Post by Guest »

Ipsec wrote:glad you got that to work for yourself but really if you have port forwarding set up to go to a server address, even those requests from the internal network has to traverse your router and in turn should be directed to the correct computer..

or so in theory.
Actually if you read the VNC manual it says that it is impossible for you to connect via web from inside your own network. (i.e.
You try and enter the external IP address and :5800 this will not work)

Tilly
Guest

Post by Guest »

I have connected via the web from my internal network from the same machine... caused an infinate number of loops of windows popping up, fun, but possible! :D
Post Reply