Page 1 of 1

connecting problem

Posted: Fri Jun 12, 2015 5:02 am
by atreiu
Hllo folks!

i've changed my router and can;t enter in world. server app working on my PC and i am try to connect from my PC via public (white) IP on that server. with old router is all ok. client connect on 5003 port and its forwarded on my LAN IP. client freezed on scene "Verifying Account..."

server console:
Client connected from my_public_IP (1 connections)
and after some short time:
Client disconnected from my_public_IP (0 connections)

maybe i should forward some any other ports? or mb some settings in router can fix it?

any thought will be apretiated. Thank you in advance.

Re: connecting problem

Posted: Sat Jun 13, 2015 11:00 pm
by blckfire
I had some problems like that a while ago.

If I'm not mistaken the problem should be now somewhere in the Logon scripts or in the Accounts file, since, you were already able to establish a connection.

Re: connecting problem

Posted: Sun Jun 21, 2015 11:34 am
by CWO
It's been years since I've even run POL but I think you need a separate entry in servers.cfg for your LAN/Localhost to make it work properly with LAN IPs.

Something like

Code: Select all

GameServer
{
    Name    Our Server
    IP     ourserver.dyndns.org
    Port    5004
}

GameServer
{
    Name    local
    IP      --lan--
    Port    5004
    IPMatch (LAN IP of the connecting computer)
}
The top is the server that your players usually connect to. The other one can have any name you want (only you will see it), the same port as your public server, and you should have an IPMatch entry in it set to the LAN IP of the computer you're running the client on so others outside won't see it since they won't be able to use it.