External Players Can't Connect to Server
#1

Hey everyone,

I'm facing an issue where external players can't connect. The Login logs show the following error when someone tries to join:

bnf HandleReadHeader error - ip : 109.42.176.209 : unique id : 0000000007 : reason : End of file
bnf closed - ip : 109.42.176.209 : unique id : 0000000007

Steps I've Taken So Far:



Updated CommunicationInterface.cpp





I have modified the IP filtering and login server configuration:



Changes on: SetIPFilter()


{
TempIP.SetIP( 79, 205, ___, ___, USA); // router IP
m_vecIPFilter.push_back( TempIP );

TempIP.SetIP( 192, 168, ___, ___, USA); // local IP
m_vecIPFilter.push_back( TempIP );
}


and




int CCommunicationInterface::ReadInfo( LoginServer* stLogin )
{
{
sprintf(stLogin[0].szAddress, "79.205.___.___"); // router ip
sprintf(stLogin[0].szPort, "%d", 4001);
}
return 1;
}


 







Network Configuration





Ports Opened: I have opened the necessary ports (8888, 4101, 4006, 3000, 4001, 4112) in my router settings and also made sure that they are allowed in my firewall (both inbound and outbound).





Tested Connectivity: Internally, everything works fine, and I can connect without issues, but external connections fail with the above error.






If anyone has any ideas on what else I can check, I'd really appreciate your help!



Thanks in advance!

#2

Did u checked your configs of login server?



Forum Jump:


Users browsing this thread: 1 Guest(s)