Unable to bind socket at 127.0.0.1

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
smilefr
Posts: 58
Joined: 23 Mar 2009, 16:50
Location: France

Unable to bind socket at 127.0.0.1

Post by smilefr »

Hi,

I am using Debian 64bit.

Every time i try to launch smartfoxserver recieve this message:

Code: Select all

Exception in thread "Reference Handler" java.lang.IllegalMonitorStateException
        at java.lang.Object.notifyAll(Native Method)
        at java.lang.ref.ReferenceQueue.enqueue(Unknown Source)
        at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
11:07:52,165 INFO  [main] http.SFSHttpServer     - Http Server started.
11:07:52,285 WARN  [main] bootLogger     - Was not able to bind socket: { 127.0.0.1:15000, (Tcp) }
11:07:52,365 WARN  [main] bootLogger     - Was not able to bind socket: { 127.0.0.1:15000, (Udp) }
I dont know if it is related to my version of java (OpenJDK)

I did reboot my server to make sure no additional instance of smartfox would be running.

Any help would be greatly appreciated!
smilefr
Posts: 58
Joined: 23 Mar 2009, 16:50
Location: France

Re: Unable to bind socket at 127.0.0.1

Post by smilefr »

EDIT: i fixed the problem, all i had to do was to specify my external ip adress instead of 127.0.0.1.
Post Reply