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

Listen with multiple IP's

Post Reply
Leaskie
8
8
Posts: 12
Joined: 2005-03-29 13:50

Listen with multiple IP's

Post by Leaskie »

Hi all,

First time poster so be gentle....

I am thinking of using UltraVNC for supporting some customers using the vncviewer in listen mode at our end and the winvnc at their end (thus getting round any basic port forwarding rubbish). Now i know you can tell VNC to connect through a particular IP address and port number.

So here is the question...

I have a computer with two IP addresses associated with it. On one IP address is a service running on a particular port. On the other IP address, i would like the VNC viewer running in listen mode. Is this possible or does VNC just take hold of all the IP addresses with that port number?

Cheers
Last edited by Leaskie on 2005-03-29 14:08, edited 1 time in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

easy :-)
  • 1st shorcut (example)
    Start...Run...
    "C:\Program Files\UltraVNC\vncviewer" -listen 5500
    save as... document1.vnc
  • 2nd shorcut (example)
    "C:\Program Files\UltraVNC\vncviewer" -listen 5502
    save as...document2.vnc

    then server must connect to correct port too
  • serverA: add new client=Initiate outgoing connection
    host name:
    ID: (if no repeater, proxy...leave it empty)
    "C:\Program Files\UltraVNC\winvnc" -connect host::5500
  • serverB: add new client=Initiate outgoing connection
    "C:\Program Files\UltraVNC\winvnc" -connect host::5502
don't forget :: for non standard port
standard port for vncviewer -listen is: 5500 by default without any information !
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Leaskie
8
8
Posts: 12
Joined: 2005-03-29 13:50

Post by Leaskie »

Okay, i couldnt have explained myself properly. Here goes...

We have one server which has two IP addresses, lets say...

IP1) 192.168.0.1
IP2) 192.168.0.2

On IP1 we have a web server that runs on port 80. On IP2 we want to have a 'VNCViewer -listen 80' running. Is this possible? I have tried this with real VNC and it tries to bind with all IP addresses, thus if the http server is running IP1 then when you try to start the vnc viewer on port 80, it says that it is already in use.

Really this is not the case as IIS (webserver only takes port 80 on IP1 and leaves IP2 alone). VNCViewer and the Repeater program try to take hold of port 80 on all addresses.

Cheers
Last edited by Leaskie on 2005-03-30 10:35, edited 1 time in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

sorry, i can't answer, I'm not sure to understand this complex usage

my think,
you can't use same port for different service even on two different network interface card on same computer.
because 1 nic is there no gateway !? or only internal usage !
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Leaskie
8
8
Posts: 12
Joined: 2005-03-29 13:50

Post by Leaskie »

The reason for wanting to use port 80 is because this is not likely to get blocked (unless they have got smart routers/firewalls thatlook at the data being passed).

I think the only way for the moment is to use port 443 (https) as this should also be open.

I spoke to one of the developers at RealVNC and he said that hopefully this might be added to a future version so that a particular IP/NIC could be bound to instead of the whole stack.

I can only wait and wish for this to be added....
Post Reply