I've just started working with websocket-sharp and Unity, I created client and server applications to test it in the same machine. Everything works fine using localhost as local address. Then, I tried to run the server and the client from different machines. Client calls the server with ws://192.168.1.x:8080/something but once I try to play the client from the Unity Editor or from the built app, it freezes for 10-20 seconds but it cannot connect. Currently I'm running the server on a Windows machine and the client on a MacbookPro. If I try to use explicitly an IP address in the same machine for both client and server apps, but I cannot connect. Any ideas?
I've just started working with
websocket-sharpand Unity, I created client and server applications to test it in the same machine. Everything works fine usinglocalhostas local address. Then, I tried to run the server and the client from different machines. Client calls the server withws://192.168.1.x:8080/somethingbut once I try to play the client from the Unity Editor or from the built app, it freezes for 10-20 seconds but it cannot connect. Currently I'm running the server on a Windows machine and the client on a MacbookPro. If I try to use explicitly an IP address in the same machine for both client and server apps, but I cannot connect. Any ideas?