Jump to content
  • 0

L2J Freya Server connecting help


Question

Posted

Please i need some help...i managed to create my own l2j server.I can connect to my server but when others try, they only pass the loginserver,create account but when they click to enter the server,nothing happens..i read "some" posts and i found out that Gameserverhostname must be my ip but when i set it like that i get this error:

 

Connecting to login on 127.0.0.1:9014
CommunityServerThread: Deactivated by config.
FATAL: Failed to open server socket. Reason: Cannot assign requested address: bi
nd
java.net.BindException: Cannot assign requested address: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.ja
va:112)
        at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:455)
        at com.l2jserver.gameserver.GameServer.main(GameServer.java:491)

All players disconnected.
Registered on login as Server 1 : L2 Apollo
All ThreadPools are now stopped
SIGTERM received. Shutting down NOW!
RaidBossSpawnManager: All raidboss info saved!!
GrandBossManager: All Grand Boss info saved!!
TradeController saving data.. This action may take some minutes! Please wait unt
il completed!
TradeController: All count Item Saved
Olympiad System: Data saved!!
Hero System: Data saved!!
Clan System: Data saved!!
GlobalVariablesManager: Database updated.

 

Server version:4667

datapack version:8058

 

pls help me as soon as you can..i'm tired of searching trough forums..if you can give me some links with tutorials.

thanks,

welltzy

7 answers to this question

Recommended Posts

  • 0
Posted

you don't edit server.properties you edit ipconfig only

 

->right but how?

this is what i have in ipconfig.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="127.0.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="10.0.0.0" />
<define subnet="172.16.0.0/19" address="172.16.0.0" />
<define subnet="192.168.0.1/16" address="192.168.0.0" />
</gameserver>

 

i believe i have to change the external adress but when i  change 127.0.0.1 with 89.40.52.94(my ip),the server shuts down.Could you help me with an example of the config or some tutorials?

  • 0
Posted

Well here add you server ip

 

<?xml version="1.0" encoding="UTF-8"?>

<!-- Externalhost here (Internet IP) or Localhost IP for local test -->

<gameserver address="HERE" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">

<!-- Localhost here -->

<define subnet="127.0.0.0/8" address="127.0.0.1" />

<!-- Internalhosts here (LANs IPs) -->

<define subnet="10.0.0.0/8" address="10.0.0.0" />

<define subnet="172.16.0.0/19" address="172.16.0.0" />

<define subnet="192.168.0.1/16" address="192.168.0.0" />

</gameserver>

  • 0
Posted

right so i edit the xml file but what about server.properties and login.properties?

the first one has a gameserverhostname linem wich i understood that must be my ip

i'll try like you said and thanks for your help

 

another question..the others must have host's file even if i edit l2.ini and chenge the ip adress there?

  • 0
Posted

right..so finally i understood ..i only edit the server external adress in the xml file.thanks to all who helped me.

from now on i will begin a new freya pvp/faction server

 

welltzy

  • 0
Posted

right..so finally i understood ..i only edit the server external adress in the xml file.thanks to all who helped me.

from now on i will begin a new freya pvp/faction server

 

welltzy

Good,locked.

Guest
This topic is now closed to further replies.


×
×
  • Create New...