I have built and run my Android app on my phone and made my PC the host with an example IP of 192.168.127.66
(The Local IP Address
of the PC).
Note: The WIFI is a Hotspot created and run by the Android Phone
But when the App from the Phone tries to connect to the PC via StartClient()
with the example IP set to the ConnectAdress
of the Unity Transport, Nothing happens. And when reversed (Android as the Host
and PC as the Client
), it also doesn’t work.
I tried:
- Changing IP’s which is not the default IP Adress of the device choosen for hosting.
- Changing Ports
I haven’t tried:
- Connecting to a real router since I don’t have a router.
Pics:
-PC Host
-Android Client
Thanks for the comments in Advance.