After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome

2025-12-14: 1.7.1.X-dev release builds need tests and feedback: https://forum.uvnc.com/viewtopic.php?t=38134

2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page

2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome

2 digit port numbers

Any features you would like to see in UltraVNC? Propose it here
Post Reply
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN

2 digit port numbers

Post by supercoe »

It seems the UltraVNC viewer will treat two digit port numbers as 5900+#.
For instance if we use the viewer to connect to a repeater on port 80 it will actually try to connect on port 5980.

Why does this exist?

Could we have an option to turn this off?
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: 2 digit port numbers

Post by YY »

Yes, both UltraVNC server and viewer are interpreting the port number in this way.

This may be has its purpose: to make it able run as the old VNC that using a parameter called Display Number (a 2-digit number). I'm not sure the exact meaning this parameter, but its syntax is the same as specifying a port no, only it must be a 2-digit number.

If you ask the viewer to connect to a remote host of display number #, the viewer (in general) will use the port 5900+#


So UltraVNC follows this convention, but it has a way to overcome this problem:
Using double colon before the port number, then UltraVNC server and viewer will always treat the specified number as a port number, and will not +5900 to it.

e.g.:
xx.xx.xx.xx::80
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN

Re: 2 digit port numbers

Post by supercoe »

Very good, thanks for the solution YY!
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply