Not able to login from local network

Open discussion forum. For topics that do not fit anywhere else.

Moderator: POL Developer

Post Reply
Demostenes
Neophyte Poster
Posts: 31
Joined: Wed Aug 29, 2007 2:44 pm

Not able to login from local network

Post by Demostenes »

I have server on local network (POL 97), connecting with classic UO. I can easily authorize, but it hangs on "logging in to shard". When I take this PC and connect from internet (through NAT), everything works. Any ideas? Thanks!
User avatar
CWO
POL Expert
Posts: 1159
Joined: Sat Feb 04, 2006 5:49 pm

Re: Not able to login from local network

Post by CWO »

I believe you need to define a "separate server" for LAN connections in servers.cfg. I had this entry in my servers.cfg for logging in on the same computer. You'll have to change the IP and IPMatch fields so they match up to your LAN. Name field doesn't matter and the port should be the same as the actual server.

Code: Select all

GameServer
{
    Name    local
    IP      localhost
    Port    5004
    IPMatch localhost
}
Demostenes
Neophyte Poster
Posts: 31
Joined: Wed Aug 29, 2007 2:44 pm

Re: Not able to login from local network

Post by Demostenes »

Thanks, it works! I was also thinking to put server into separate vlan, this probably should help too, but it requires redesign of whole network :( NAT reflection didnt work.
Demostenes
Neophyte Poster
Posts: 31
Joined: Wed Aug 29, 2007 2:44 pm

Re: Not able to login from local network

Post by Demostenes »

Is there somewhere documentation, how this sharding works technically? I am in game alone, players are in different shard. What is happening technicaly? Does it run on different thread? Does this second shard have own instances of all NPCs? What happens during world save? Etc....Thanks.

PS: I used pc on the internet as proxy, but it also didnt helped me to get in. Why is POL behaving this way? Is there any reason for that?
User avatar
CWO
POL Expert
Posts: 1159
Joined: Sat Feb 04, 2006 5:49 pm

Re: Not able to login from local network

Post by CWO »

There is no second shard unless you run a second instance of POL. Do you mean a different realm (map)? The second entry in the servers.cfg should still connect you to the same shard, it just goes through a different internet route. You can't connect from your public IP to your public IP directly which is what you were trying to do so the "second server" just takes a shortcut from one LAN IP to another LAN IP.
Post Reply