hi, i am just using room sample and i add network discovery to my object and ofcourse its working on pc but when i tried with android i cannot connect to my pc(server) (and I tried the exact opposite ) i just turn off the firewall but nothing changed
AND also both are connected to same wifi. so What might I be doing wrong? What do you think I should check?
#I can't connect to pc from android with network discovery
10 messages · Page 1 of 1 (latest)
And as far as I understand, network discovery is actually a component made for this.
well i am using same project and I dont think that the secretHandshake is differrent for android and windows
but
i just write my public ip to networkmanager and its worked! i dont how...
Wait but IP is for clients connecting to the server?
networkAddress in network manager is only used by remote clients. server and host client ignore it and use "localhost" internally.
Discovery works on LAN on same subnet, e.g. both PC acting as server and androids as clients need to be on 192.168.x.y where x is the same for all and y is different for all. If your Wifi router is giving out IP's on a different subnet than the hardwired PC, that could be why discovery on clients can't find the server.
Mirror ships with a discovery example. Load that up on PC (as server) and clients and see if that works. If that does not, it's likely due to how your LAN is set up.
Hello! I don't know if that helps but I had a problem with the Network Discovery. Two copies running on the same machine would work but the ip address that I was getting was different. Tried a few things but nothing worked. My ip address was 192.168.x.y but the ip address received was 192.168.56.1. A while back I installed Virtual Box which installs a virtual Ethernet Adapter. Once I deactivated that Virtual Box adapter, everything started working.