Page 1 of 1

subsonic not binding to port

PostPosted: Sat Sep 03, 2011 1:42 am
by Erreth
Hello all.

I'm trying to install subsonic on my ubuntu 10.04 server, but I'm having trouble doing so. I've follows the installation instructions to the 'T' but it appears like subsonic isn't actually listening to port 4040. Here is my log info:

Code: Select all
root@ubuntu-server:/home/corey/Downloads# more /var/subsonic/subsonic.log
[2011-09-02 18:25:58,847] INFO DaoHelper - Checking database schema.
[2011-09-02 18:25:59,479] INFO DaoHelper - Done checking database schema.
[2011-09-02 18:25:59,794] INFO SearchService - Automatic index creation scheduled to run every 1 day(s), starting at
Sat Sep 03 03:00:00 PDT 2011
[2011-09-02 18:25:59,922] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting
at Fri Sep 02 18:30:59 PDT 2011
[2011-09-02 18:26:05,877] WARN NetworkService - No UPnP router found.
[2011-09-02 18:30:59,917] INFO PodcastService - Starting scheduled Podcast refresh.
[2011-09-02 18:30:59,918] INFO PodcastService - Completed scheduled Podcast refresh.


I've tried explicitly specifying ports to bind to in the args, but that didn't change anything. All settings are default.

Another interesting thing, is when I nmap localhost, i see nothing about port 4040. For some reason, subsonic isn't binding to the port. Could any of you help me out with this? I'd really appreciate it!

Re: subsonic not binding to port

PostPosted: Sat Sep 03, 2011 2:11 am
by BKKKPewsey
I haven't got a ubuntu server so can not help much but it would appear that UPnP is not working correctly on your router so have you forwarded port 4040 in your router manually?

Re: subsonic not binding to port

PostPosted: Sat Sep 03, 2011 5:45 am
by Erreth
Yes, I have manually forwarded port 4040. But regardless, I can't connect to subsonic on localhost, or on my internal network.

Re: subsonic not binding to port

PostPosted: Wed Sep 14, 2011 7:13 pm
by KerbMkII
Hi,

I'm having exactly the same problem - Ubuntu 10.04, same error in the log files. uPNP is enabled on my router, and I have also forwarded the port manually. Trying to connect to the server from any machine times out.

Any ideas?

Re: subsonic not binding to port

PostPosted: Wed Sep 14, 2011 11:50 pm
by BKKKPewsey
Just to eliminate 1 possible error how are you trying to access SS?
Are you using serverIP:portNo?
Also check with http://canyouseeme.org/ to see if the port is open.

:mrgreen:

Re: subsonic not binding to port

PostPosted: Thu Sep 15, 2011 1:26 pm
by reverse
check to see if you have ipv6 enabled

might need to add the line

-Djava.net.preferIPv4Stack=true

in

/usr/share/subsonic/subsonic.sh

Re: subsonic not binding to port

PostPosted: Sat Sep 17, 2011 1:03 pm
by KerbMkII
Hi, thanks for the replies.

I've added that line to the script and restarted the service, but accessing IP:PORT (as set in my /etc/default/subsonic file) still times out from both internal and external (including that canyouseeme website).


Output from /var/subsonic/subsonic.log:

Code: Select all
nick@odie:~$ cat /var/subsonic/subsonic.log
[2011-09-16 13:35:06,899] WARN NetworkService - No UPnP router found.