Page 1 of 1

Port Error

Posted: May 29th, 2009, 7:44 pm
by bobsmith
Hi,

I'm not getting any replies, so I'll rewrite this. I've tried a number of things. The problem is this: I'm getting the following error when trying to load sabnzbdplus:

Welcome to sabnzbdplus 0.4.11
SABnzbd needs a free tcp/ip port for its internal web server.
Port 8080 on localhost was tried , but it is not available.
Some other software uses the port or SABnzbd is already running.
Please restart SABnzbd with a different port number....

I get the same error no matter what port number I try - and I have tried many. This is on a new Ubuntu Jaunty (Linux Mint 7) install. I had no such issues with Ubuntu Intrepid. As far as I can tell, nothing is using port 8080.

So I uninstalled sabnzbdplus via synaptic, deleted the sabnzbdplus directory from my home directory, and followed the instructions to reinstall found here:
http://sabnzbd.wikidot.com/install-ubuntu-repo

I still get the same error no matter what port number I try! Firewall is not enabled, internet works fine... So I'm suspecting that there is some remnant left over from the previous install. When I installed sabnzbdplus the first time, it was on a new Ubuntu Jaunty install. However, I copied over the home/.sabnzbdplus directory from my old Ubuntu Intrepid system after installing sabnzbdplus in Jaunty. Now I'm thinking that may have caused this mess... perhaps there's some remnant of that Intrepid install lurking somewhere that isn't being deleted when I uninstall sabnzbdplus. But where would it be? I've already deleted the sabnzbdplus directory in my home directory. Is there a file or folder somewhere that I need to blow away to ensure I get a clean start with sabnzbdplus?

LATER:

I'm continuing to try other things. I tried changing the ini file this way:
host = 0.0.0.0
port = 8080
And now it works fine. So why does it work with the new host? Can I just leave it at 0.0.0.0? Is that going to create other problems?  Is there any disadvantage to setting the host to 0.0.0.0? Security? I'm behind a router with NAT on a home network with three computers (my Ubuntu Jaunty and two Windows PCs). If someone can explain why this works, and if it's safe to leave it this way (with host = 0.0.0.0) , I'd appreciate it. Or better yet, I'd like to know why it wasn't working with "localhost".

Bob Smith

Re: Port Error

Posted: May 31st, 2009, 3:32 am
by shypike
Based on your first report, giving any answer was difficult.
Many Linux installations are not very well set up, in that the hostname is not properly converted to an IP address
(not your fault but the distribution makers').
Using 0.0.0.0 will make SABnzbd listen to any available IP address
(usually just localhost and your local IP address, like 192.168.1.2).
This is OK, when your system is behind a router.
If you connect directly to the internet, then you're in trouble.

Do you know to which IP address "localhost" translates?
Sometimes IPV6 can get in the way.