Can't connect to localhost on one computer (can on another)
Dimar
✭
Hello. I'm using the next scheme:
1. I launch photon control and select local IP as public (for example 192.168.3.2)
2. Start Load Balancing instance as application.
3. On the same PC I launch my server app, written in Unity. In it I connect to 127.0.0.1. (PhotonNetwork.ConnectToMaster("127.0.0.1",_port,_appId);)
It always worked during the develolpment. Even builded server worked on my PC. But when I try to launch whole system on client PC, server app can't connect to local photon. It stucks on status 'Connecting to master server' for a couple of tens of seconds and then server app disconnects with cause 'Disconnected by client logic', but i do not call Disconnect anywhere.
What may cause this behaviour?
1. I launch photon control and select local IP as public (for example 192.168.3.2)
2. Start Load Balancing instance as application.
3. On the same PC I launch my server app, written in Unity. In it I connect to 127.0.0.1. (PhotonNetwork.ConnectToMaster("127.0.0.1",_port,_appId);)
It always worked during the develolpment. Even builded server worked on my PC. But when I try to launch whole system on client PC, server app can't connect to local photon. It stucks on status 'Connecting to master server' for a couple of tens of seconds and then server app disconnects with cause 'Disconnected by client logic', but i do not call Disconnect anywhere.
What may cause this behaviour?
0
Comments
-
Will check. But I don't know it firewall can block requests to localhost. And also server receives some first request from Photon, because if Photon ia not started, it fires error immediately and not after a ten second.0