Page 1 of 1
Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 14th, 2009, 11:50 am
by neographikal
Hi,
I'm using Sabnzbd 0.4.12 on Ubuntu 9.10 (Desktop). I'm trying to get it to listen to 192.168.0.2 (the ip address of my server) instead of localhost, but both 0.0.0.0 and the ip address won't work. Everytime I restart Sab, it'll use the localhost again. I tried to set it by hand in my sabnzbd.ini, but it resets to localhost.
If anyone has an idea, I'd welcome it

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 14th, 2009, 3:40 pm
by switch
Does your computer have a hostname set and configured correctly?
What happens when you specify a blank hostname in your config
(should listing on your local ipv4 address.
Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 15th, 2009, 4:56 am
by shypike
I have noticed some odd behaviour in Ububtu 9.10.
It looks like 0.0.0.0 is just treated (by Ubuntu) as localhost.
I'll look into it.
Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 15th, 2009, 5:27 am
by rascalli
I have put in the IP of my networkcard , works perfect
Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 15th, 2009, 4:00 pm
by shypike
The meaning of 0.0.0.0 is listen on all available host addresses.
This should be localhost and the IP.
For some reason this does not work on Ubuntu 9.10.
Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 20th, 2009, 3:33 pm
by neographikal
shypike wrote:
The meaning of 0.0.0.0 is listen on all available host addresses.
This should be localhost and the IP.
For some reason this does not work on Ubuntu 9.10.
If I put in my external ip (192.168.0.2) it just resets. Sabnzbd won't listen to anything else than localhost on my Ubuntu install.
Thanks for the effort

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 20th, 2009, 4:08 pm
by shypike
Try the system's name or just nothing as host.
Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 21st, 2009, 8:07 am
by neographikal
Problem remains the same: it just resets to localhost the next time I start it.
Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: November 21st, 2009, 10:31 am
by switch
How is sabnzbd launched? Sounds like it is being launched with -s localhost:8080 which would change it to localhost on every startup.
Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: December 6th, 2009, 2:10 pm
by neographikal
Bingo, found it. /etc/init.d/sabnzbd contains a link to /etc/default/sabnzbdplus. It is there where the networksettings are stored and used. This occurs at Ubuntu 9.10 and with the box-standard sabnzbd package (apt-get install sabnzbd)
Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)
Posted: February 22nd, 2010, 10:24 am
by ucomesdag
neographikal wrote:
Bingo, found it. /etc/init.d/sabnzbd contains a link to /etc/default/sabnzbdplus. It is there where the networksettings are stored and used. This occurs at Ubuntu 9.10 and with the box-standard sabnzbd package (apt-get install sabnzbd)
Thanks, editing this file solved my problem of the host name getting reset after restarting the deamon.