Page 1 of 1

Can't remotely access SABnzbd

Posted: May 16th, 2012, 7:57 am
by camaj
I gave SABnzbd a try a while a go and it didn't seem to work so I went back to Grabbit. However I decided to give it another go and it's pretty cool! However I've got a problem and I can't seem to fix it or find the solution anywhere. I can connect to SAB fine on my computer but whenever I try to connect from another machine it just refuses to work. Here's what I've tried so far, in case someone wants to check my methodology:

I downloaded the latest versions for each OS
1) Tried connecting with SABmax (android) to SABnzbd running on a ubuntu laptop. Tried doing it with SABcontrol (android)
2) Figuring it might be an issue with Ubuntu, I tried the same on my Win7 desktop
3) I tried connecting to my local IP (192.168.0.100) on Opera (android) rather than an app
4) Tried connecting to my IP on other machines
5) Tried changing the host from 0.0.0.0 to 192.168.100 and doing repeating the previous steps. I've tried changing the port to port 80 and adjusting the client settings to match
5b) I disabled the API key and the passwords too, just to rule them out. Also auto accept security certificate
6) Messed around with the router for a bit
7) Plugged straight into the modem and repeated the above steps (on android at least) using the external IP
8) Installed a webserver to see if I could connect to that. It worked but that's the only thing that has.

So I think I've ruled out a router problem. I think I've ruled out an OS problem and a hardware problem. The only problem seems to be SABnzbd itself but other people seem to have managed it fine. I'm totally out of ideas and now I'm turning to you fine people for help. What can I do? Is there anything I have missed? I must be missing something

Re: Can't remotely access SABnzbd

Posted: May 16th, 2012, 8:54 am
by sander
What do you mean by "remotely"? From your LAN, of from Internet? And which works / does not work?

Re: Can't remotely access SABnzbd

Posted: May 16th, 2012, 9:58 am
by camaj
The times I mentioned a local IP (192. etc) above I'm connected to my router (ie SABnzbd is running on a machine connected to the router and the clients are also connected to the same router) and the external IP when I tried connecting via the internet rather than the router. None of them worked

I've just installed Sickbeard and I can access that just fine on my android browser which makes this even more odd

Re: Can't remotely access SABnzbd

Posted: May 16th, 2012, 10:54 am
by sander
You're running SAB on Ubuntu, right? If so, can you post the output of these two commands:

Code: Select all

netstat -apon | grep -i listen | grep -vi listening 
which will show on which ports applications are listening. And

Code: Select all

netstat -apon | grep -i listen | grep -vi listening | grep -i python
which will show listening python processes (which SAB is).

That way we can see on which ports SAB is listening, and if it is listening to non-local sessions.


Here's mine:

Code: Select all

sander@R540:~$ netstat -apon | grep -i listen | grep -vi listening
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:52682         0.0.0.0:*               LISTEN      3976/GoogleTalkPlug off (0.00/0/0)
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      3309/vino-server off (0.00/0/0)
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 0.0.0.0:119             0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 0.0.0.0:3000            0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 127.0.0.1:8123          0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -                off (0.00/0/0)
tcp6       0      0 ::1:5546                :::*                    LISTEN      -                off (0.00/0/0)
tcp6       0      0 :::139                  :::*                    LISTEN      -                off (0.00/0/0)
tcp6       0      0 :::5900                 :::*                    LISTEN      3309/vino-server off (0.00/0/0)
tcp6       0      0 :::8080                 :::*                    LISTEN      14375/python     off (0.00/0/0)
tcp6       0      0 :::80                   :::*                    LISTEN      -                off (0.00/0/0)
tcp6       0      0 :::22                   :::*                    LISTEN      -                off (0.00/0/0)
tcp6       0      0 ::1:631                 :::*                    LISTEN      -                off (0.00/0/0)
tcp6       0      0 ::1:25                  :::*                    LISTEN      -                off (0.00/0/0)
tcp6       0      0 :::445                  :::*                    LISTEN      -                off (0.00/0/0)
tcp6       0      0 :::9090                 :::*                    LISTEN      14375/python     off (0.00/0/0)
tcp6       0      0 :::5800                 :::*                    LISTEN      3309/vino-server off (0.00/0/0)
sander@R540:~$ 
sander@R540:~$ 
sander@R540:~$ netstat -apon | grep -i listen | grep -vi listening | grep -i python
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp6       0      0 :::8080                 :::*                    LISTEN      14375/python     off (0.00/0/0)
tcp6       0      0 :::9090                 :::*                    LISTEN      14375/python     off (0.00/0/0)
sander@R540:~$

Re: Can't remotely access SABnzbd

Posted: May 16th, 2012, 11:10 am
by camaj
sander wrote:You're running SAB on Ubuntu, right? If so, can you post the output of these two commands:
See step 2, I went to Windows 7 at that point

I decided to hope back to the laptop running ubuntu just to follow your instruction and I thought I'd see if I could access that from the win7 PC. Long story short I got through first time! The thing is I didn't do anything different. The API key box wasn't checked but I'm sure it was before and anyway I didn't get an error message related to that (I've just tried it with the key enabled and the client does produce an error).

So my first problem is basically solved, which is what I wanted in the first place. However it still doesn't work on the windows machine

Re: Can't remotely access SABnzbd

Posted: May 16th, 2012, 3:58 pm
by sander
Windows? Firewall!

Re: Can't remotely access SABnzbd

Posted: May 16th, 2012, 4:47 pm
by camaj
Doesn't seem to be, no. Firstly it didn't have a problem with sickbeard and secondly I checked and it was on the access list

Having said that......I just checked again to make 100% sure and I noticed that the checkbox was unticked next to SABnzb. I checked it and tested it again and it works! This is odd because I never opened the list until earlier today and I'd tried everything so I don't see how it's possible. Maybe it happened during setup but it seems like it would either be on the list or not. This whole thing has been very strange to be honest!

Re: Can't remotely access SABnzbd

Posted: May 17th, 2012, 12:03 pm
by abso
I got exactly the same problem. Every other program i can get remote access like teamviewer, radmin, utorrent after i opened the ports. Just sabnzbd wont let me get access via internet as well as lan. Tried everything i could find on the subject but nothing worked. System is win7

could rly need some help with this if someone has an idea

Re: Can't remotely access SABnzbd

Posted: November 4th, 2012, 12:39 pm
by bikerozzy
HI
have had this problem setting sabnzbd up for remote access for the first time.
to get it working i put 0.0.0.0 in the host address.

Hope this helps someone

Ozzy

Re: Can't remotely access SABnzbd

Posted: November 4th, 2012, 12:59 pm
by shypike
You also need to setup port-forwarding in your router.