Not able to change Port via SSLPort=7584

Hi anybody,

I'm using two Pi's as VHUSBServer and I want to connect them both via Internet/Port Forwarding. Therefore I need to change the TCP/SSL Port of one of the two servers.

I'm forwarding the Ports 7574 to Pi1 and 7584 to Pi2.

It works perfectly if I'm not using SSLcert in config.ini and I'm using TCPPort=7584 on Pi2.

But, as soon as I'm using SSLcert and SSLPort=7584, the Pi2 is no more available.

As a crosscheck, I'm removing SSLPort=7584 and the Pi2 is perfectly available via 7574.

Can anyone help me?

BR Dennis

#2

You need to tell the virtualhere client about the new SSL port because the client is expecting SSL on port 7575 and it cannot be auto-detected

(However If you are using auto-find it will automatically just work if you change the ssl port, so im assuming you are not using auto-find in the client)

Stop and exit the virtualhere client then edit the c:\users\username\appdata\roaming\vhui.ini and add the line under the [General] section

SSLPort=7584

then save the ini file and start the virtualhere client and ssl will work on port 7584

#3

Hi Michael,
thank you for your quick response.
I've tried to implement your solution, but like I expected, as soon as I read your solution is:
I'm trying to connect two devices via SSL simultaneously by PortForwading on my FritzBox:
:7574 --> Pi1:7574 (SSL)
:7584 --> Pi2:7584 (SSL)

Using the original settings, I'm able to connect Pi1 via Port 7574 using SSL, but I'm not able to connect to Pi2 via Port 7584 using SSL, because the Client is expecting the Port 7574 for SSL connections.
As soon as I add the setting "SSLPort=7584" into vhui.ini, I'm glad to be able to connect Pi2 via Port 7584 using SSL, but then Pi1 using SSL isn't able to connect, because it's Port 7574.
Now I'm afraid that there is no way to connect different devices with different Ports via SSL. Or is there any solution? ;-)
Best regards
Dennis

#4

Actually yes you are right! If you change the sslport the other server wont work i forgot about that. I think you'll just have to not use ssl for one of the servers and remove the sslport setting from the vhui.ini