Hi,
I just finished my first real-time multiplayer game. So far I was testing running nakama server locally (and everything worked/works), but now, I’ve to test a connection to a remote server.
I’ve a Virtual Machine and I’ve running cockroach & nakama, like I did locally.
The problem is, when I change the local IP to my remote IP in my game-client, I get a connection error:
NClientParameters parameters;
parameters.serverKey = "defaultkey";
parameters.host = "40.122.xx.xxx"; //virtual machine public ip
parameters.port = DEFAULT_PORT;
m_client = NCocosHelper::createDefaultClient(parameters);
It’s running in a Windows Server and I already tested turning off the Firewall.
What could be happening?
Thanks