Page 1 of 1

sabnzbd not accessible after auto startup in Windows

Posted: September 8th, 2008, 7:24 am
by M@rtijn
When I start sabnzbd on my windows machine I'm able to access sabnzb from the local and other machine's by going to http://mce/sabnzbd.
When I autostart sabnzbd after my windows machine has booted I'm not able to access sabnzbd from other machine's. When I try to open sabnzbd in a local browser it only opens when I go to http://locahost/sabnzbd. I tried to start sabnzbd by placing a hyperlink in the startup folder and by adding a scheduled task. I'm using Windows XP Pro
Does anybody knows how to fix this?

Re: sabnzbd not accessible after auto startup in Windows

Posted: September 8th, 2008, 8:09 am
by shypike
Have you looked in SABnzbd's log file to see to which port is listens?
What did you fill in host?

Reminder:
host = ""  ==> http://mce/sabnzbd
host = 0.0.0.0 ==> http://mce/sabnzbd or http://localhost/sabnzbd
host = mce ==> http://mce/sabnzbd

The hostname will only if your DNS works properly, otherwise use the numerical IP address.

Re: sabnzbd not accessible after auto startup in Windows

Posted: September 8th, 2008, 8:30 am
by M@rtijn
Yes, everything works OK when I start sabnzbd manually. But when I start sabnzbd automatically he only listens on localhost (not even the ip number). Even the hostname is configured as "mce"

Re: sabnzbd not accessible after auto startup in Windows

Posted: September 8th, 2008, 10:13 am
by switch
Try using the host 0.0.0.0
It might have more luck with the delay of your internet being resolved at startup.

Re: sabnzbd not accessible after auto startup in Windows

Posted: September 8th, 2008, 3:38 pm
by M@rtijn
Unsuccesfully tried using 0.0.0.0

Just reinstalled sabnzbd and gave my windows pc a fixed ip adres (192.168.1.9). When I start sabnzbd manually I can surf to http://192.168.1.9/sabnzbd/ from the local browser and from the browsers on other pc's in the network.
When I start sabnzbd during windows boot using the Startup folder nothing works. I can see that sabnzbd has started in the Windows Task manager. The only difference I see between manual and automatic start is the memory usage. The automatic started sabnzbds uses 14.052k. The manually started sabnzbd uses 16.752k

Re: sabnzbd not accessible after auto startup in Windows

Posted: October 16th, 2009, 12:47 pm
by Speechless
Just wondering, did you ever find a solution for this problem ?
I've just build a new HTPC which runs sabnzbd as well and am facing the same problem.

Re: sabnzbd not accessible after auto startup in Windows

Posted: October 16th, 2009, 2:18 pm
by shypike
It's very likely that your network card hasn't obtained an IP address from the router yet.
The safest way to do it is a scheduled task.
You can define a scheduled task that runs on login.
The scheduled task should call a batch file that starts with a "sleep" command (say 5 minutes)
and then starts SABnzbd.

Not ideal, but you could give your system a fixed IP address (and disable DHCP).

Re: sabnzbd not accessible after auto startup in Windows

Posted: October 16th, 2009, 2:26 pm
by Eejit
On my system (Win Se7en) there is an option in the Task Scheduler to
Start only if the following network connection is available:
I have it set to "Any Connection". This prevents the Task from starting until my network card has obtained an IP address from the router.
Using this, SABnzbd+ starts as soon as I've got a connection, be it 1 minute or 5 minutes.

Hope this helps