bansalvks / vnsea

Automatically exported from code.google.com/p/vnsea
0 stars 0 forks source link

Hostname:port address still uses default port #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a server with the port after the hostname liike "host:7500" (use a 
non-default port 
number)
2. Connect to server
3.

What is the expected output?
Connection is made to specified port.

What do you see instead?
Connection failed alert listing port 5900.

Original issue reported on code.google.com by crf...@gmail.com on 1 Oct 2007 at 2:14

GoogleCodeExporter commented 8 years ago
same problem, how do you fix this?

Original comment by sha...@gmail.com on 2 Oct 2007 at 3:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
not sure if this is intended or not and it's not perfect, but the formula:
x - 5900 = y, if x is the port you want to connect to, y is what you should
enter in the 'display' field.

i.e.: i want to connect to a vnc server on port 7900, so
7900 - 5900 = 2000. enter 2000 in the display field and the program will 
connect to
port 7900.

Original comment by choranka...@gmail.com on 6 Oct 2007 at 8:05

GoogleCodeExporter commented 8 years ago
chorankates: good workaround :) but you shouldn't have to do that. the way it's 
supposed to work is that you 
can put the port after the hostname, separated by a colon. then the display is 
added to that.

Original comment by crf...@gmail.com on 7 Oct 2007 at 6:49

GoogleCodeExporter commented 8 years ago
Resolved in svn revision 18. You still set the port like "hostname:1234", but 
it actually works this time. The 
problem was that the display was being set from prefs after the host and port, 
and it was overriding the port 
number. A side effect of the fix is that the display number is now always added 
to the chosen port, even for 
custom ports.

Original comment by crf...@gmail.com on 7 Oct 2007 at 8:06

GoogleCodeExporter commented 8 years ago

Original comment by crf...@gmail.com on 15 Oct 2007 at 6:29