How to make the server public?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

How to make the server public?

Post 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.
Image
Prolly the youngest L2j user :P
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Re: How to make the server public?

Post by Aikimaniac »

to be honest...if you ask this "How to make the server public?" i recommend to not try it...
Image
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: How to make the server public?

Post by pokiokio »

Why not? L2j was founded to only be alone in your server and don't play with some friends? :(
Image
Prolly the youngest L2j user :P
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Re: How to make the server public?

Post 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.
Image
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: How to make the server public?

Post 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 :(.
Image
Prolly the youngest L2j user :P
kotk
Posts: 99
Joined: Wed Jan 04, 2006 12:51 am

Re: How to make the server public?

Post by kotk »

Have you setup Portforwarding?
Are you behind a Firewall?
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: How to make the server public?

Post by pokiokio »

Yes, I have portfowarded , I have disabled firewall , anitvirus (NOD 32) is ok ...everything's set :(
Image
Prolly the youngest L2j user :P
kotk
Posts: 99
Joined: Wed Jan 04, 2006 12:51 am

Re: How to make the server public?

Post by kotk »

K, how bout you post your configs then. You did set the addy in both the login.prop and server.prop?
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: How to make the server public?

Post 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
Image
Prolly the youngest L2j user :P
toastgodsupreme
Posts: 750
Joined: Sun Dec 07, 2008 7:01 pm
Location: Poland

Re: How to make the server public?

Post 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.
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: How to make the server public?

Post 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.
Image
Prolly the youngest L2j user :P
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: How to make the server public?

Post 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
Image
Prolly the youngest L2j user :P
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: How to make the server public?

Post 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.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: How to make the server public?

Post by pokiokio »

Tyvm janiii, you help me a lot. :) Will try it :D
Image
Prolly the youngest L2j user :P
hanta
Posts: 3
Joined: Sat Aug 25, 2007 9:31 pm

Re: How to make the server public?

Post by hanta »

Do you have a public IP adress ?
Post Reply