java.net.BindE: Address already in use: Cannot bind [SOLVED]

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

java.net.BindE: Address already in use: Cannot bind [SOLVED]

Postby mystiqu » Sun Apr 19, 2009 8:30 pm

Hi

I´ve just installed the PS3 Media Server and I have one issue.
After approx. 24 hours (worked perfectly before that) I get a bunch of these errors in the log:

[main] TRACE 20:51:23.750 Scanning network interface lo / MS TCP Loopback interface
[main] TRACE 20:51:23.750 Scanning network interface eth0 / Intel(R) PRO/Wireless 2200BG Network Connection - Packet Scheduler Miniport
[main] TRACE 20:51:23.750 Using address /192.168.0.199 found on network interface: name:eth0 (Intel(R) PRO/Wireless 2200BG Network Connection - Packet Scheduler Miniport) index: 2 addresses: /192.168.0.199;
[main] TRACE 20:51:23.750 Created socket: /192.168.0.199:5001
[Thread-5] TRACE 20:51:23.796 Starting DLNA Server on host 192.168.0.199 and port 5001...
[main] TRACE 20:51:23.796 Sending ALIVE...
[main] TRACE 20:51:23.812 Using following UUID: 6ed6a58d-0764-31c1-b5a5-525a55d631de
[main] TRACE 20:51:30.343 It's ready! You should see the server appears on XMB
[Thread-9] 20:51:30.343 UPNP network exception: Address already in use: Cannot bind
[Thread-9] TRACE 20:51:30.359 java.net.BindException: Address already in use: Cannot bind
[Thread-9] TRACE 20:51:30.375 at java.net.PlainDatagramSocketImpl.bind0(Native Method)
[Thread-9] TRACE 20:51:30.375 at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
[Thread-9] TRACE 20:51:30.390 at java.net.DatagramSocket.bind(Unknown Source)
[Thread-9] TRACE 20:51:30.390 at java.net.MulticastSocket.<init>(Unknown Source)
[Thread-9] TRACE 20:51:30.406 at java.net.MulticastSocket.<init>(Unknown Source)
[Thread-9] TRACE 20:51:30.406 at net.pms.network.UPNPHelper$2.run(UPNPHelper.java:205)
[Thread-9] TRACE 20:51:30.437 at java.lang.Thread.run(Unknown Source)


I´ve used TCPView and the port is not used by any other application - but it seem to work most of the times despite the errors, but the server has a bad habit of dissapearing from the network after a few hours.
After a reboot the PS3 finds it again.


I´ve rebooted the computer, reinstalled PS3 MS and disabled all the other network interfaces in case they might cause problems, but I still get the abole error message all the time (1 every 3s).

Has anyone come across this before and solved it?

I´m using PS3 MS 1.10.51 on Win XP, SP3.
Pentium M 2.0 GHz

Kind regards,
Mikael
Last edited by mystiqu on Mon Apr 20, 2009 6:55 pm, edited 2 times in total.
mystiqu
 
Posts: 15
Joined: Sun Apr 19, 2009 7:52 pm

Re: java.net.BindException: Address already in use: Cannot bind

Postby robo » Mon Apr 20, 2009 4:08 pm

I have the same problem. Asked about it in another thread but noone answered. Still hoping tho...

http://ps3mediaserver.org/forum/viewtopic.php?f=6&t=200&start=0
robo
 
Posts: 2
Joined: Fri Apr 03, 2009 5:05 pm

Re: java.net.BindException: Address already in use: Cannot bind

Postby mystiqu » Mon Apr 20, 2009 5:23 pm

I´ve seen numerous people on other forums with the same problem, but never any solution.
The error message "Address already in use: Cannot bind" should mean the port is already used by some other application, but in this case it´s not.

Maybe it´s the application itself that tries to bind to it twice - after all, the server usually work (most of the time) and finds the PS3, despite the error...?

//Mikael
mystiqu
 
Posts: 15
Joined: Sun Apr 19, 2009 7:52 pm

Re: java.net.BindException: Address already in use: Cannot bind

Postby mystiqu » Mon Apr 20, 2009 6:40 pm

[Solved :P ]

Ok - I seem to have solved it.
I disabled the "SSDP Discovery Service", and after that all the errors disappeared :P

Now I only have 1 issue left where my shared folders seem to get deleted everytime I shut down and start up the PS3 Media Server, but that´s another story in another thread 8-)

//Mikael
mystiqu
 
Posts: 15
Joined: Sun Apr 19, 2009 7:52 pm

Re: java.net.BindE: Address already in use: Cannot bind [SOLVED]

Postby greenjo » Tue Apr 21, 2009 1:40 pm

whats this SSDP Discovery service? how do i disable it?
greenjo
 
Posts: 2
Joined: Tue Apr 21, 2009 1:16 pm

Re: java.net.BindE: Address already in use: Cannot bind [SOLVED]

Postby mystiqu » Tue Apr 21, 2009 6:58 pm

Hi

It´s a service for detecting and configuring other uPnP deviced on your network.
Disable it here: Control Panel -> Administrative Tools -> Service -> SDSC Discovery Service

//Mikael
mystiqu
 
Posts: 15
Joined: Sun Apr 19, 2009 7:52 pm


Return to General Help and Support

Who is online

Users browsing this forum: No registered users and 26 guests