Unable to change port number from 7777

Support for the Debian/Ubuntu package, created by JCFP.
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
Plex4Me
Newbie
Newbie
Posts: 9
Joined: June 22nd, 2023, 3:56 am

Unable to change port number from 7777

Post by Plex4Me »

Having trouble trying to change port number from 7777.

Ive editted in the GUI and get the "you need to restart SAB for this to take effect" it also shows the current IP and the new port number but then when I reload the page its always back to 7777.

I have tried changing it in these documents, stopping the service, changing the file, restarting the service but still defaults back to 7777.

sudo nano /etc/default/sabnzbdplus
sudo nano ~/.sabnzbd/sabnzbd.ini
User avatar
OneCD
Hero Member
Hero Member
Posts: 565
Joined: March 4th, 2017, 3:47 pm

Re: Unable to change port number from 7777

Post by OneCD »

Are you also specifying the port when launching SABnzbd?

If-so, it may be overriding the setting in sabnzbd.ini
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Plex4Me
Newbie
Newbie
Posts: 9
Joined: June 22nd, 2023, 3:56 am

Re: Unable to change port number from 7777

Post by Plex4Me »

That is a good point, Im not too experienced in linux, if you could tell me how I could check that would be appreciated, I installed it using the following guide:

https://tteck.github.io/Proxmox/
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/sabnzbd.sh)"
Plex4Me
Newbie
Newbie
Posts: 9
Joined: June 22nd, 2023, 3:56 am

Re: Unable to change port number from 7777

Post by Plex4Me »

hmmm ok I found this in /etc/systemd/system/sabnzbd.service

[Unit]
Description=SABnzbd
After=network.target
[Service]
WorkingDirectory=/opt/sabnzbd
ExecStart=python3 SABnzbd.py -s 0.0.0.0:7777
Restart=always
User=root
[Install]
WantedBy=multi-user.target

I am assuming this could be it? can i just remove the port number or do i need to remove the switch and IP, or one and not the other etc
Plex4Me
Newbie
Newbie
Posts: 9
Joined: June 22nd, 2023, 3:56 am

Re: Unable to change port number from 7777

Post by Plex4Me »

ahh thank you so much OneCD...I modified this file to the following and it finally worked, for anyone else looking at this you need to keep 0.0.0.0 (at least I did) otherwise it wouldn't load.

[Unit]
Description=SABnzbd
After=network.target
[Service]
WorkingDirectory=/opt/sabnzbd
ExecStart=python3 SABnzbd.py -s 0.0.0.0
Restart=always
User=root
[Install]
WantedBy=multi-user.target


Also realised this was evident in the settings found on http://10.0.0.17:7777/config/ under the "Parameters" heading
User avatar
OneCD
Hero Member
Hero Member
Posts: 565
Joined: March 4th, 2017, 3:47 pm

Re: Unable to change port number from 7777

Post by OneCD »

I’d remove the listening address and the port number. See how it runs. If there’s an issue, you can always put back the listening address. It should be in the SABnzbd config file anyway. :)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
OneCD
Hero Member
Hero Member
Posts: 565
Joined: March 4th, 2017, 3:47 pm

Re: Unable to change port number from 7777

Post by OneCD »

Ah, just saw your reply.

Good work mate. :D
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Plex4Me
Newbie
Newbie
Posts: 9
Joined: June 22nd, 2023, 3:56 am

Re: Unable to change port number from 7777

Post by Plex4Me »

thanks for your help would not have known where to look :)
Post Reply