connecting problem

Open discussion forum. For topics that do not fit anywhere else.
Post Reply
User avatar
atreiu
Grandmaster Poster
Posts: 151
Joined: Mon May 24, 2010 1:08 pm

connecting problem

Post 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.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: connecting problem

Post 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.
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Re: connecting problem

Post 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.
Post Reply