VirtualGamePad-PC icon indicating copy to clipboard operation
VirtualGamePad-PC copied to clipboard

Connection Error Upon Connecting

Open PrincePipen opened this issue 1 month ago • 1 comments

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"

PrincePipen avatar Nov 13 '25 09:11 PrincePipen

"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.

Image

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.

kitswas avatar Nov 13 '25 12:11 kitswas

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

Image

I had to turn it off. I did that then ran into another issue: Host Unreachable

Image

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)

Image

Then I connected to the network from Android, started the server on PC

Image

and connected from the Android Client

Image

Here's an Example with itch.io's Celeste Anniversary

Image

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 😊.

totgb avatar Dec 17 '25 03:12 totgb