Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Report & discuss bugs found in 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.
Post Reply
neographikal
Newbie
Newbie
Posts: 9
Joined: March 30th, 2008, 6:36 am

Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post 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 :)
Last edited by neographikal on November 14th, 2009, 11:52 am, edited 1 time in total.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post by switch »

Does your computer have a hostname set and configured correctly?

What happens when you specify a blank hostname in your config

Code: Select all

host =
(should listing on your local ipv4 address.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post 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.
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post by rascalli »

I have put in the IP of my networkcard , works perfect
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post 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.
neographikal
Newbie
Newbie
Posts: 9
Joined: March 30th, 2008, 6:36 am

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post 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 :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post by shypike »

Try the system's name or just nothing as host.
neographikal
Newbie
Newbie
Posts: 9
Joined: March 30th, 2008, 6:36 am

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post by neographikal »

Problem remains the same: it just resets to localhost the next time I start it.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

Post 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.
neographikal
Newbie
Newbie
Posts: 9
Joined: March 30th, 2008, 6:36 am

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

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

Re: Sabnzbd won't listen on other IP than localhost (Ubuntu 9.10)

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