![]() |
|
External Players Can't Connect to Server - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128) +----- Thread: External Players Can't Connect to Server (/showthread.php?tid=5111) |
- BossAura - 03-05-2025 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! - laurojr - 04-19-2025 Did u checked your configs of login server? |