
Originally Posted by
chreadie
Im having the same issue and ive tracked it down the client connecting to the wrong ip to start with, troubleshooting the client atm.
I dont get this, ive tried multiple different NAT settings in my somewhat advanced router and no luck. I have no setting in the client which points to my local ip and it still connects to the local ip first. This leads to clients outside cant connect (since my local ip isnt available anywhere else).
In r3dNetwork.cpp at line 269
Code:
binds[numBinds++] = RakNet::SocketDescriptor(port, "127.0.0.1");
Make it look like this:
Code:
binds[numBinds++] = RakNet::SocketDescriptor(port, "127.0.0.1");
binds[numBinds++] = RakNet::SocketDescriptor(port, "");
to make it listen to 0.0.0.0 (aka answer on any adress)