Connection Error Upon Connecting
I tried all the server's IP Addresses and I got it to work only one time and ever since I wanted to connect it again or scan, it won't connect anymore. It keeps saying "Host Unreachable"
"Host Unreachable" means a network error. (Usually due to devices being on separate networks, or Firewall on device or router)
got it to work only one time
Not a firewall or router issue, then.
If the server shows multiple IP addresses, switch the network you are connecting to. e.g.
In the image above, the server is listening on two networks - 192.168.1.209 and 192.168.137.1.
You need to choose the network the client is on.
If you have a VPN active on either of your devices, you might need to turn it off. Some VPNs block access to the local network.
Let me know how it goes.
Connection Error Upon Connecting : Error Fixed
On trying to connect VirtualGamePad from Android to PC, it didn't work because of the VPN I had running on Android
I had to turn it off. I did that then ran into another issue: Host Unreachable
I recalled that I ran into this same issue when running servers on Android or PC and connecting over a network routed by Android through Android Hostspot, (where the PC sees the connection as Wifi and joins the network this way).
So the problem is that Android has gotten worse at routing networks from itself because restrictions are in place.
I couldn't get it to work at all until I made the network in another way. You can use a real Wifi Router or Ethernet to USB but I got it to work by turning on Hotspot on PC (Debian to be precise)
Then I connected to the network from Android, started the server on PC
and connected from the Android Client
Here's an Example with itch.io's Celeste Anniversary
So the problem is Android and its Hotspot issue. To fix it, let PC turn on hotspot and Android connect or use an external Wifi Router or Ethernet to USB cable.
Hope this helps 😊.