ssh: connect to host 172.28.172.3 port 22: Connection refused
I am trying to deploy my app to Jolla 1 phone. I am tethering the connection with Xperia X with ip 172.28.172.1. Sometimes my Ubuntu Laptop is 172.28.172.2 and Jolla 1 172.28.172.3. Now they are opposite.
I can test and set the connection with SDK Tools Options Devices with Jolla 1 having a host name 172.28.172.2. For some reason when compiling the SDK tries to deploy to 172.28.172.3.
Qt Creator 4.9.1 (Sailfish SDK 3.0.7) is used. Before I have managed to deploy to Jolla 1 and currently deploying to Xperia X with a host name 172.28.172.1 works flawless.
Any hints to solve the issue. (Of course I can shut down all the devices and start again:)
Do you have configured devices inside Qt Creator, one for each of the IP addresses? Do you have selected correct device in the Kit before deploying? (This can be done using the Kit selector located nearby the left edge of Qt Creator window.)
martyone ( 2020-01-09 10:19:17 +0200 )edit