Bugzilla – Bug 417
can't setup the listening port 9000 for the HTTP server: Address already in use
Last modified: 2009-09-08 09:18:40 UTC
can't setup the listening port 9000 for the HTTP server: Address already in use at /usr/local/slimserver/ Slim/Web/HTTP.pm line 146. With Perl 5.6.0, the necessary argument to IO::Socket->new is "Reuse", not "ReuseAddr". Simple Hack: $http_server_socket = HTTP::Daemon->new( LocalPort => $listenerport, LocalAddr => $listeneraddr, Listen => SOMAXCONN, Reuse => 1, ########## Hack for 5.6.0 ReuseAddr => 1, (This has been a bug for a while, I just was too lazy to find it.)
is there any reason not to merge this in?
I have used this for a month, with no problems. Of course, this should receive some testing on other systems, but this is what the development version is for, no? There *should* be no problems on other systems, anyway.
I'd like Sean's opinion on this. I'm concerned that in some cases we'd see success in opening the socket, but we wouldn't see any incoming connections. Sean?
Fix should appear in the next nightly build.
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.