Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

L2J [Help]Gameserver Error

Initiate Mage
Joined
Mar 12, 2007
Messages
4
Reaction score
0
i keep getting this problem in my startGameServer.bat when i load my C5 Oath of Blood Client

Info
java.io.IOException: AN attempt was made to access a socket in a way forbidden by its access permissions
at sun.nio.ch.ServerSocketChannelImpl.accept0<Native Method>
at sun.nio.ch.ServerSocketChannelImpl.accept0<Unknown Source>
at net.sf.l2j.gameserver.selectorThread.acceptConnect ion<selector Thread.jave:555>

If you could help please post back it would be much appreciated
 
Junior Spellweaver
Joined
Sep 26, 2006
Messages
174
Reaction score
3
Re: Gameserver Error

Here you go. You may also try setting it to 256m, depending on your server pack. Good luck.
try this if you havent already.

go in to your gameserver folder and right click on startgameserver.bat and select edit, once inside look for aline that looks like this

java -Xmx512m net.sf.l2j.gameserver.GameServer

look and see what your memory is set at if it is set higher than 512 then set it to 512 and see what happens.

this fixed my socket error that i had doing the same exact thing as you.
 
Upvote 0
Initiate Mage
Joined
Mar 12, 2007
Messages
4
Reaction score
0
Re: Gameserver Error

Problem solved thank you very much.. very much appreciated
 
Last edited:
Upvote 0
Initiate Mage
Joined
Sep 21, 2006
Messages
12
Reaction score
0
Re: Gameserver Error

Has anyone found a solution?

Is it related to compile issue? I used ant with 1.6jdk but need to set a global setting in eclipse because of compiler problems. When fixed it compiled but i get the same error as original post. Did anyone have the same error and situation?
 
Upvote 0
Back
Top