Jump to content
  • 0

[HELP]Connectio refused


Question

Posted

Hey guys i have problems with making login hostname l2zerg.no-ip.biz...it always repeat:

"FATAL:Failed to open server socket.Reason:Cannot assign requested address:bind"

It works fine when i put 127.0.0.1  But not with my no-ip address. Here r my game & login proper.

 

# This is the server configuration file. Here you can set up the connection for your server.

# Usually you have to change the ExternalHostname option to

# - 127.0.0.1 (if you want to play alone / testing purpose)

# - LAN IP* (if you want to play from another computer in the network)

# - WAN IP** (if you want to play with friends over internet)

# - Questions? => http://l2jserver.com

#

# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"

# **= If you want to get you WAN IP, visit http://www.whatismyip.com

# ===================================================================================================

 

# ================================================================

# General server setting !!! REQUIRED to configure to everyone !!!

# ================================================================

 

# 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=l2zerg.no-ip.biz

 

# 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=l2zerg.no-ip.biz

 

# The Loginserver host and port

LoginPort=9014

LoginHost=l2zerg.no-ip.biz

 

# 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 allready 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=

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 namy 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 = 740

MaxProtocolRevision = 746

 

login:

 

# This is the server configuration file. Here you can set up the connection for your server.

# Usually you have to change the ExternalHostname option to

# - 127.0.0.1 (if you want to play alone / testing purpose)

# - LAN IP* (if you want to play from another computer in the network)

# - WAN IP** (if you want to play with friends over internet)

# - Questions? => http://l2jserver.com

#

# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"

# **= If you want to get you WAN IP, visit http://www.whatismyip.com

# ===================================================================================================

 

# ================================================================

# General server setting !!! REQUIRED to configure to everyone !!!

# ================================================================

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname=l2zerg.no-ip.biz

 

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

InternalHostname=l2zerg.no-ip.biz

 

# Bind ip of the LoginServer, use * to bind on all available IPs

LoginserverHostname=l2zerg.no-ip.biz

LoginserverPort=2106

# How many times you can provide an invalid account/pass before the IP gets banned

LoginTryBeforeBan=10

# 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=127.0.0.1

 

# 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 = False

 

# If false, the licence (after the login) will not be shown

# It is highly recomended for Account Seciurity to leave this option as defalut (True)

ShowLicence = False

 

# 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=

Login=root

Password=

MaximumDbConnections=10

 

# Useable 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

 

 

# ==============================================================

# 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=250

FastConnectionTime=100

MaxConnectionPerIP=50

 

Help plx  ;)

 

 

8 answers to this question

Recommended Posts

  • 0
Posted

Loipon ama den exete static ip pante http://no-ip.com ena acc k sto serveraddr:(no-ip) ystera prepei na anoi3ete ta ports an exete rooter grafete apo explorer i apo mozilla 192.168.1.1 admin admin  admin 1234 analoga ti exete kanete tis ry8miseis anoigete ta ports k meta mpenete   

                                                                     

  • 0
Posted

Loipon ama den exete static ip pante http://no-ip.com ena acc k sto serveraddr:(no-ip) ystera prepei na anoi3ete ta ports an exete rooter grafete apo explorer i apo mozilla 192.168.1.1 admin admin  admin 1234 analoga ti exete kanete tis ry8miseis anoigete ta ports k meta mpenete    

                                                                      

 

This is the English section so use english!

  • 0
Posted

in this man try put no-ip

 

# Bind ip of the gameserver, use * to bind on all available IPs

GameserverHostname=* ----------------> NO-IP

GameserverPort=7777

  • 0
Posted

# 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=

Login=root

Password=

MaximumDbConnections=100

 

did u puted the deta base pass hare ????

  • 0
Posted

Man at internal ip just enter 127.0.0.1 if you want to play from the pc where the server is or 192.168.2.1 or 192.168.2.2 if you want to play from computers on the network. At external ip enter your no-ip adress (host).

 

Don't Change this:

# The Loginserver host and port

LoginPort=9014

LoginHost=l2zerg.no-ip.biz

Guest
This topic is now closed to further replies.


  • Posts

    • ElmoreLab Harbor - Eternal C1 x1: ✅ https://harbor.elmorelab.com ElmoreLab Harbor - Eternal C1 x1 - is an exclusive server of the Eternal C1 chronicles from the top project ElmoreLab Harbor.   A unique server of its kind, on which everyone will have maximum pleasure, such as oldschool players who dream of nostalgia and to feel the warmest and classic C1 chronicles, as well as experienced players who are tired of thousands unbalanced servers of late chronicles. Due to the professional corrections of the balance system and the HONEST gameplay system - on this server, EVERY player will feel like in their own, warm and cozy Harbor C1. Let's return to the origins of L2 - back to 2004 in C1! ❤️   ⭐ Server characteristics:   STRICTLY 1 window, NO BOXES Bans for RMT and bots/cheats No donations with benefits Unique and high-quality PTS-build from Master Toma Professional corrections and full class-balance Reworked economy and closed all abuses Improved animations and all aspects of the game Exclusive HD-client with high-quality textures Experienced administration and management Fixed all bugs, geodata, exploits and holes Maximum sociality due to the 1-box system Discovering, exploring and researching Big online International server Nostalgia and oldschool-feelings   Rates: x1 Server start: 14.02.2025   The server is at the final stages of development and preparation for release. Information on the server will be updated, soon the patchnotes and changes/edits will be posted. Don't miss the legendary and epic experience on the best server in the last 20 years! ❤️ Join our C1-forum with a lot of information about server and active discussions.   ⭐ Website: https://harbor.elmorelab.com   ✅ Forum: https://forum-harbor.elmorelab.com   💥 Telegram: https://t.me/l2harbor https://t.me/l2harbor_chat   ⚡ Discord: https://discord.gg/harborelmorelab
    • yeah ok, if you say what is fuctional 100% i can't say something different 😛  but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
    • I've been using this for 2 years now with no issues from Discord. I don't use ogg.dll either. This one works with any l2.exe too; I don’t see any difference between them.
    • hmm.. ok i just see that, is different code first of all. My sources is totally different based in other way, with else libraries.  I have access to modify everything even to make the clock to stop show how many time users play in server. 1) so maybe keep some personal info more hide. 2) i dont use ogg.dll 3) i create it and give it ready + support to install it. Plus what is mine can working with what ever .exe you want not just l2 with same simple method. And i am sure if you try this source to compile it, after 3 hours discord will like shadowban your API too thats my source
  • Topics

×
×
  • Create New...