Page 1 of 1
Unable to change port number from 7777
Posted: May 5th, 2024, 6:59 pm
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
Re: Unable to change port number from 7777
Posted: May 5th, 2024, 7:24 pm
by OneCD
Are you also specifying the port when launching SABnzbd?
If-so, it may be overriding the setting in sabnzbd.ini
Re: Unable to change port number from 7777
Posted: May 5th, 2024, 7:33 pm
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)"
Re: Unable to change port number from 7777
Posted: May 5th, 2024, 7:34 pm
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
Re: Unable to change port number from 7777
Posted: May 5th, 2024, 7:45 pm
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
Re: Unable to change port number from 7777
Posted: May 5th, 2024, 7:47 pm
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.

Re: Unable to change port number from 7777
Posted: May 5th, 2024, 7:47 pm
by OneCD
Ah, just saw your reply.
Good work mate.

Re: Unable to change port number from 7777
Posted: May 6th, 2024, 5:24 am
by Plex4Me
thanks for your help would not have known where to look
