Starting SABnzbd via service/init.d refuses all connections

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
hoylemd
Newbie
Newbie
Posts: 2
Joined: July 8th, 2015, 8:30 am

Starting SABnzbd via service/init.d refuses all connections

Post by hoylemd »

Hey folks,

I installed sabnsbd on my ubuntu 15.xx server a little while ago, and I set it up to only listen to localhost:8000, so it goes behind nginx. The problem is, it refuses all connections there, even when I `curl localhost:8000` locally. I tried running `/usr/bin/sabnzbdplus` directly, and it works perfectly, but I don't understand why the connection is refused from nginx.

The best theory I have is that the daemon run by init.d is run under the sabnzbd user, but when I run it in the foreground it'd be run under my user. I'm not sure how that would result in rejecting all connections though, much less how to fix it.

Any help or suggestions would be appreciated. If you need to see any config files or anything, please tell me how to find them, as I'm quite new to this package.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Starting SABnzbd via service/init.d refuses all connecti

Post by shypike »

How did you setup redirection in nginx?
hoylemd
Newbie
Newbie
Posts: 2
Joined: July 8th, 2015, 8:30 am

Re: Starting SABnzbd via service/init.d refuses all connecti

Post by hoylemd »

I found the problem!

The issue was that I hadn't gone through the wizard. I had done it when I ran sabnzbd in the foreground as my user, but I guess that didn't save the options in the same place as the daemonized version.

I just had to hit <domain>:8000/wizard/ (I think the default port is 8080) in my browser, and all's good.
Post Reply