[ICODE][/ICODE]Hi, I’m creating a unity multiplayer game and I am having trouble connecting to a server on a computer from another computer on the same LAN. I’ve searched far and wide for an answer but can’t seem to find a solution that works.
If I create a dedicated server and client on the same computer I can connect fine to the server, but when I try to connect to a host from a different computer it just fails to find the server.
Example setup:
Computer A running a dedicated server + a client: Client connects to server using local IPv4
Computer B running a single client: Client attempts to connect to server using the local IPv4 address of computer A (I used ipconfig to find its ip, which is something like for example 192.168.124.1)
Things I have tried:
-Tried allowing the application through firewall on both computers
-Tried disabling firewall on both computers
-Running as admin on both computers
Maybe I need to port forward? But port forwarding is only if somebody wants to connect over the internet right?
Kind of lost what else should I do? Any help is appreciated, thank you!
Edit: Wtf I was at uni and decided to switch to my mobile hotspot and it suddenly worked on two computers!!! hmmmm maybe it is something to do with the networks :O, but still not working on my home network at home