Page 1 of 2

How to make the server public?

Posted: Tue Apr 21, 2009 2:15 pm
by pokiokio
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 2785:
L2JDP Revision 2785:

Hello , I'm able to log in to my server and I even have 245 ping at the server list. I've put my WAN ip on the "ExternalHostname" at the conifg files. It's all set and correct. But I give my friends to put in their host file "(MY WAN IP) l2authd.lineage2.com . A friend today tried to log in , he reached server selection screen and!!! ...Nothing..:( Help please :(


P.S.:Yes , I HAVE searched how to make my server public but NOTHING.

Re: How to make the server public?

Posted: Tue Apr 21, 2009 2:20 pm
by Aikimaniac
to be honest...if you ask this "How to make the server public?" i recommend to not try it...

Re: How to make the server public?

Posted: Tue Apr 21, 2009 2:25 pm
by pokiokio
Why not? L2j was founded to only be alone in your server and don't play with some friends? :(

Re: How to make the server public?

Posted: Tue Apr 21, 2009 2:57 pm
by Aikimaniac
pokiokio wrote:Why not? L2j was founded to only be alone in your server and don't play with some friends? :(
No...my target was that if you dont know how to make public server after reading configs or browsing forums to get informations, it can maybe be complicated for you and there is also possible you can harm your home computer.

Re: How to make the server public?

Posted: Tue Apr 21, 2009 3:05 pm
by pokiokio
Here's what I give to my friends:

127.0.0.1 localhost
(WAN IP) L2authd.lineage2.com
216.107.250.194 nprotect.lineage2.com

I've tried everything! I set the configs correctly :(.

Re: How to make the server public?

Posted: Tue Apr 21, 2009 3:09 pm
by kotk
Have you setup Portforwarding?
Are you behind a Firewall?

Re: How to make the server public?

Posted: Tue Apr 21, 2009 3:15 pm
by pokiokio
Yes, I have portfowarded , I have disabled firewall , anitvirus (NOD 32) is ok ...everything's set :(

Re: How to make the server public?

Posted: Tue Apr 21, 2009 5:37 pm
by kotk
K, how bout you post your configs then. You did set the addy in both the login.prop and server.prop?

Re: How to make the server public?

Posted: Wed Apr 22, 2009 8:53 am
by pokiokio
server.properties:

# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=*
GameserverPort=7777

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# If this ip is resolvable by Login just leave *
ExternalHostname(MY WAN IP)

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
# If this ip is resolvable by Login just leave *
InternalHostname=127.0.0.1

# The Loginserver host and port
LoginPort=9014
LoginHost=127.0.0.1

# This is the server id that the gameserver will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other id to the server if the requested id is already reserved
AcceptAlternateID = True

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
#Database user info (using root user is not recommended)
Login=root
Password=
MaximumDbConnections=100

# Datapack root directory, defaults to current directory from which the server is started
# DatapackRoot = C:/Work/tmp/DataPack

# Define character name template
# Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*
# will allow names with first capital letter, next three small letters,
# and any (capital or not) letter or number, like ZbigN1eW
# Most rational to have CnameTemplate=[A-Z][a-z]*
# meaning names only of letters with first one capital, like Zbigniew
# Default .* - any many of any symbols
CnameTemplate=.*
PetNameTemplate=.*

# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])
CharMaxNumber = 7

# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers=100


# Minimum and maximum protocol revision that server allow to connect.
# You must keep MinProtocolRevision <= MaxProtocolRevision.
MinProtocolRevision = 1
MaxProtocolRevision = 999

---------------------------------------------------------------------------------------------------------------
loginserver.properties:

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=(MY WAN IP)

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=127.0.0.1

# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106
# How many times you can provide an invalid account/pass before the IP gets banned
LoginTryBeforeBan=20
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
LoginBlockAfterBan=600
GMMinLevel=100

# The address on which login will listen for GameServers, use * to bind on all available IPs
LoginHostname=*

# The port on which login will listen for GameServers
LoginPort=9014

# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = True

# If false, the license (after the login) will not be shown
# It is highly recommended for Account Security to leave this option as default (True)
ShowLicence = True

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
#Database user info (using root user is not recommended)
Login=root
Password=(MY MYSQL PASSWORD)
MaximumDbConnections=10

# Usable values: "true" - "false", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=true

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
IpUpdateTime=15

#==========================
# Loginserver Log
#==========================
LogLoginController=true

# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================

Debug = False
Assert = False
Developer = False

# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=True

#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50

------------------------------------------------------------------------------------------

The (MY MYSQL PASSWORD) and (MY WAN IP) are to protect my mysql pwd and my ip :P

Re: How to make the server public?

Posted: Wed Apr 22, 2009 9:42 am
by toastgodsupreme
1. I hate it when people post configs. Makes searching for specific terms harder because you end up getting garbage threads where people posted configs.

2. When I cleaned up the properties files, I made sure to do my best to make the descriptions idiot proof.

3. If you can't manage to set the proper settings in your configs and firewall + router, like Aiki said, you shouldn't be running a server. This is the most basic thing you could do as far as running a server. It's not us being mean, but we're trying to get you to take a step back, look at what you're doing wrong, and fix it yourself.


Oh wait, wtf, you're not even using updated configs. Yours don't have the info that newer ones have. Maybe you should consider updating first, rereading the guide on the wiki and then see what happens.

Re: How to make the server public?

Posted: Wed Apr 22, 2009 9:58 am
by pokiokio
I HAVE read the wiki , and which are the latest configs , the configs came with the datapack I've downloaded (http://www.l2jdp.com/nightly) . If I don't have the latest updated config then I'd appreciate you telling me where to get them.
I have a goal and I want to achieve it despite my age . If I have managed to run a private server and I can login to it , I'll manage to get it public too but , I need assistance.

Re: How to make the server public?

Posted: Wed Apr 22, 2009 10:04 am
by pokiokio
toastgodsupreme wrote:1. I hate it when people post configs. Makes searching for specific terms harder because you end up getting garbage threads where people posted configs.
kotk wrote:K, how bout you post your configs then. You did set the addy in both the login.prop and server.prop?
kotk asked for it , blame him :P

Re: How to make the server public?

Posted: Wed Apr 22, 2009 10:06 am
by janiii
so try to download again the nightly build from the same link, and try it with it. there should be more comments in the configs.

Re: How to make the server public?

Posted: Wed Apr 22, 2009 10:25 am
by pokiokio
Tyvm janiii, you help me a lot. :) Will try it :D

Re: How to make the server public?

Posted: Wed Apr 29, 2009 11:19 am
by hanta
Do you have a public IP adress ?