Page 1 of 2

Accessing sabnzbd remotely using https [Linux]

Posted: February 28th, 2014, 12:55 pm
by peaveyman
I'm running sabnzbd on Arch Linux. I can access sabnzbd remotely with my android phone over my wifi when I'm close or over the phones network when I'm not if I use http. I have tried unsuccessfully to use https. It doesn't work. Would some have an idea as to what the problem might be. I don't think it's in router because I had the same setup when I was on windows 7 and 8 and I could access it over https.

Thanks

Re: Accessing sabnzbd remotely using https

Posted: March 1st, 2014, 1:43 am
by sander
On your router/NAT-device: Which ports did you forward to your Arch Linux system? Did you also forward port 9090 (the default HTTPS port of SAB) ... ?

Re: Accessing sabnzbd remotely using https

Posted: March 1st, 2014, 7:07 am
by peaveyman
When trying to use HTTPS I had port 9090 forwarded. When I switched to HTTP I forwarded port 8080 which is working.

Re: Accessing sabnzbd remotely using https

Posted: March 1st, 2014, 4:13 pm
by sander
peaveyman wrote:When trying to use HTTPS I had port 9090 forwarded. When I switched to HTTP I forwarded port 8080 which is working.
Do you mean you removed the 9090 port forwarding from your NAT/router?

Re: Accessing sabnzbd remotely using https

Posted: March 1st, 2014, 4:17 pm
by peaveyman
Yes, I had port 9090 forwarded in the router. HTTPS wouldn't work. I removed the 9090 and added 8080 and can access sabnzbd remotely.

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 1:58 am
by sander
Why did you remove the 9090? That certainly stops HTTPS remote access.

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 6:46 am
by peaveyman
I removed it because it was not working. I replaced it with port 8080 so I can access it remotely.

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 9:32 am
by sander
peaveyman wrote:I removed it because it was not working. I replaced it with port 8080 so I can access it remotely.
And what is your need?

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 10:01 am
by peaveyman
I'm trying to figure out why HTTPS won't work. When I am trying to use HTTPS I forward port 9090 in the router but it will not work.

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 11:25 am
by sander
peaveyman wrote:I'm trying to figure out why HTTPS won't work. When I am trying to use HTTPS I forward port 9090 in the router but it will not work.
Can you access SABnzbd https from the machine itself, so https://localhost:.../

If so:
- what is the exact URL (so: which port)
- can you access SABnzbd https from another machine on your LAN, so https://192.168.0.x:.../

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 11:34 am
by peaveyman
I can access Sabnzbd from the machine itself using this: https://0.0.0.0:9090/sabnzbd/

I can't access Sabnzbd from another machine on the LAN using https using https://192.168.1.x:9090/sabnzbd

It tells me web page not available.

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 12:48 pm
by sander
peaveyman wrote: I can't access Sabnzbd from another machine on the LAN using https using https://192.168.1.x:9090/sabnzbd

It tells me web page not available.
You have to solve that first.

Can you access the plain HTTP from your LAN, so http://192.168.1.x:8080/sabnzbd ? (EDIT: corrected the port to 8080)

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 12:55 pm
by peaveyman
I can using port 8080. If I use 9090 it defaults to https and fails.

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 1:18 pm
by sander
On your Arch Linux, what is the output of:

Code: Select all

netstat -apon | grep -i listen | grep -vi listening | grep -i python
Here's mine (on Ubuntu)

Code: Select all

$ 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.)
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      11167/python     off (0.00/0/0)
tcp        0      0 0.0.0.0:9090            0.0.0.0:*               LISTEN      11167/python     off (0.00/0/0)
sander@flappie64:~$

Re: Accessing sabnzbd remotely using https

Posted: March 2nd, 2014, 1:35 pm
by peaveyman
netstat -apon | grep -i listen | grep -vi listening | grep -i python
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 13049/python2 off (0.00/0/0)
tcp 0 0 0.0.0.0:8112 0.0.0.0:* LISTEN 331/python2 off (0.00/0/0)
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN 13049/python2 off (0.00/0/0)
tcp6 0 0 ::1:8080 :::* LISTEN 13049/python2 off (0.00/0/0)
tcp6 0 0 ::1:9090 :::* LISTEN 13049/python2 off (0.00/0/0)