Page 1 of 1

cannot logon remotely when running as a service

Posted: December 23rd, 2011, 1:31 am
by IaMaDog1914
Hi,

I have sabnzbd running on the home theatre PC and setup sabnzbd as a service as per the How to install on WHS intstructions and all appears to be fine when logged in physically or remotely. The issue is that I was unable to log into sabnzbd remotely as was previously possible.

I did some tests where I stopped the service and then ran the sabnzbd exe and was able to log onto sabnzbd remotely.

I have not found anything on this in the forum, probably is just me. I presume that I should be able to have sabnzbd as a service and be able to logon remotely; is this correct and if so are there any known issues or suggestions to troubleshoot the issue?

Thanks

Re: cannot logon remotely when running as a service

Posted: December 23rd, 2011, 2:29 am
by sander
What do you mean "cannot logon remotely": is there no SAB webinterface at all, or is there an webinterface but you can't logon (wrong password or so)?

Re: cannot logon remotely when running as a service

Posted: December 23rd, 2011, 3:11 am
by shypike
Which hostname did you enter in SABnzbd's Config->General?
"localhost" won't work, you need an empty hostname or 0.0.0.0
Also tell your software firewall to allow SABnzbd to setup its web interface
(allow incoming traffic on port 8080).

Re: cannot logon remotely when running as a service

Posted: December 23rd, 2011, 6:20 am
by IaMaDog1914
Sorry for the lack of clarity, what a shocker post.

On the HTPC when sabnzbd is running via the EXE I can access sabnzbd through Internet Explorer from my personal PC; when I setup sabnzbd to run as a service on the HTPC I cannot access sabnzbd through Internet Explorer.

When sabnzbd is run as a service on the HTPC when I log on at the PC or via remote desktop I can access sabnzbd (locally) but I cannot access sabnzbd through Internet Explorer from my personal PC.

In the 1st instance I manually configured the IP to 0.0.0.0 and port to 8100 and I can access sabnzbd through Internet Explorer from my personal PC using http://192.168.0.200:8100/

In the second instance when I set it up as a service I ran the following command "SABnzbd-service.exe -f C:\sabnzbd --server 0.0.0.0:8100 install" & "SABnzbd-helper.exe install" from the sabnzbd directory and rebooted the PC.

Thanks for asking for clarification and I hope this post does so.

Re: cannot logon remotely when running as a service

Posted: December 23rd, 2011, 6:25 am
by shypike
You still need to tell your Windows Firewall to let
SABnzbd-service.exe listen to port 8100.

Re: cannot logon remotely when running as a service

Posted: December 24th, 2011, 4:08 am
by IaMaDog1914
shypike wrote:You still need to tell your Windows Firewall to let
SABnzbd-service.exe listen to port 8100.
Hi shypike,

Thanks for the feed back but as I can access sabnzbd through Internet Explorer from my personal PC i.e. across the network when I run the sabnzbd.exe on the HTPC then it would indicate to me this is already in place.

Cheers.

Re: cannot logon remotely when running as a service

Posted: December 24th, 2011, 4:28 am
by shypike
SABnzbd.exe and SABnzbd-service.exe are two separate programs.
You need to give each permission in the Windows Firewall.

Re: cannot logon remotely when running as a service

Posted: December 24th, 2011, 10:01 pm
by IaMaDog1914
shypike wrote:SABnzbd.exe and SABnzbd-service.exe are two separate programs.
You need to give each permission in the Windows Firewall.
Hi shypike,

Thanks for clarifying and of course you were right ;)

I had incorrectly assumed blah blah blah and after adding the SABnzbd-service.exe to the firewall I can now access this across the network.

Cheers