Accessing sabnzbd remotely using https [Linux]

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.
peaveyman
Newbie
Newbie
Posts: 11
Joined: February 28th, 2014, 12:52 pm

Accessing sabnzbd remotely using https [Linux]

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Accessing sabnzbd remotely using https

Post 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) ... ?
peaveyman
Newbie
Newbie
Posts: 11
Joined: February 28th, 2014, 12:52 pm

Re: Accessing sabnzbd remotely using https

Post by peaveyman »

When trying to use HTTPS I had port 9090 forwarded. When I switched to HTTP I forwarded port 8080 which is working.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Accessing sabnzbd remotely using https

Post 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?
peaveyman
Newbie
Newbie
Posts: 11
Joined: February 28th, 2014, 12:52 pm

Re: Accessing sabnzbd remotely using https

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Accessing sabnzbd remotely using https

Post by sander »

Why did you remove the 9090? That certainly stops HTTPS remote access.
peaveyman
Newbie
Newbie
Posts: 11
Joined: February 28th, 2014, 12:52 pm

Re: Accessing sabnzbd remotely using https

Post by peaveyman »

I removed it because it was not working. I replaced it with port 8080 so I can access it remotely.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Accessing sabnzbd remotely using https

Post 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?
peaveyman
Newbie
Newbie
Posts: 11
Joined: February 28th, 2014, 12:52 pm

Re: Accessing sabnzbd remotely using https

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Accessing sabnzbd remotely using https

Post 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:.../
peaveyman
Newbie
Newbie
Posts: 11
Joined: February 28th, 2014, 12:52 pm

Re: Accessing sabnzbd remotely using https

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Accessing sabnzbd remotely using https

Post 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)
peaveyman
Newbie
Newbie
Posts: 11
Joined: February 28th, 2014, 12:52 pm

Re: Accessing sabnzbd remotely using https

Post by peaveyman »

I can using port 8080. If I use 9090 it defaults to https and fails.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Accessing sabnzbd remotely using https

Post 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:~$
peaveyman
Newbie
Newbie
Posts: 11
Joined: February 28th, 2014, 12:52 pm

Re: Accessing sabnzbd remotely using https

Post 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)
Post Reply