Jump to content
  • 0

[Help] server socket Error


ozan

Question

hello guys =)  i fully made my server  when i lauch my loginserver it says ready

when i lauch gameserver i get this error =

 

 

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

java.net.BindException: Cannot assign requested address: bind

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Unknown Source)

at sun.nio.ch.Net.bind(Unknown Source)

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.java:112)

at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:468)

at com.l2jserver.gameserver.GameServer.main(GameServer.java:504)

 

 

 

pls help me          firewall /router i open this port's = 7777 UDP/TCP - 2106 UDP/TCP - 80 TCP - 9014 UDP/TCP

 

# ---------------------------------------------------------------------------

# Login Server Settings

# ---------------------------------------------------------------------------

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

# This was written with the assumption that you are behind a router.

# Dumbed Down Definitions...

# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.

# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).

# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.

# ---------------------------------------------------------------------------

# Networking

# ---------------------------------------------------------------------------

 

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

# Default: *

LoginserverHostname = *

# Default: 2106

LoginserverPort = 2106

 

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

# Default: *

LoginHostname = *

 

# The port on which login will listen for GameServers

# Default: 9014

LoginPort = 9014

 

 

# ---------------------------------------------------------------------------

# Game Server Settings

# ---------------------------------------------------------------------------

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

# This was written with the assumption that you are behind a router.

# Dumbed Down Definitions...

# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.

# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).

# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.

# ---------------------------------------------------------------------------

# Networking

# ---------------------------------------------------------------------------

#

# Note: External/Internal address definitions was moved to the ipconfig.xml

#

 

# Where's the Login server this gameserver should connect to

# Default: 127.0.0.1

LoginHost = 127.0.0.1

 

# TCP port the login server listen to for gameserver connection requests

# Default: 9014

LoginPort = 9014

 

# Bind address for gameserver. You should not need to change it in most cases.

# Default: * (0.0.0.0)

GameserverHostname = **.***.***.**

 

# Default: 7777

GameserverPort = 7777

 

HELP ME ?????  i get this error =

 

 

 

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

java.net.BindException: Cannot assign requested address: bind

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Unknown Source)

at sun.nio.ch.Net.bind(Unknown Source)

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.java:112)

at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:468)

at com.l2jserver.gameserver.GameServer.main(GameServer.java:504)

 

 

 

btw does the telnet need to be ON or OFF ???

 

 

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

still the same :( i restart my computere tryed over and over always the same

 

if i go to gameserver login    and i change  it to 127.0.0.1 it works all fine but when i do my internal ip nothing works :/

Link to comment
Share on other sites

  • 0

first of all wrong section.... Second something is going wrong with your gameserver.main config... Also says this one for ip's Note: External/Internal address definitions was moved to the ipconfig.xml Have you been checking for it by using fileedit???.... that's the main role of the servern to shows you that gameserver is on...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock