Page 1 of 1

Can't connect with 8080

Posted: June 16th, 2011, 3:20 am
by jd1940
I've been using SABnzb quite happily for some time. Today, I kept getting an error saying it could not connect. I believe it was using port 8106 previous to today. I probably compounded the problem by upgrading to the latest build but now nothing I do will allow me open the program in Firefox. I've looked for an .ini file but don't see one in the program file area. Since I can't get into SABnzb there's nothing I can do to make any headway. I have tried all the common ports, 8080, 8085, 8090 and 8095 plus a few others I can't recall but I keep getting a Firefox error message saying I can use that port. I can also play with the ports in the Firefox extension nzbdstatus but I haven't found anything that works. Any help will be greatly appreciated as I use this program a lot!

Re: Can't connect with 8080

Posted: June 16th, 2011, 4:10 am
by sander
Which operating system are you using? Linux, Mac, Windows, or even something else?

Re: Can't connect with 8080

Posted: June 16th, 2011, 4:26 am
by shypike
Check to what localhost resolves to. 127.0.0.1 (IPV4) or [::1] (IPV6).
The INI file is in $HOME\.sabnzbd
Try in Firefox: 127.0.0.1:port and [::1]:port

Re: Can't connect with 8080

Posted: June 16th, 2011, 2:36 pm
by jd1940
I'm using Windows 7 ultimate. When I try and start SAB I get a message: This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.

On the resulting tab I get when trying to open I see: http://192.168.1.6:1/sabnzbd

I've tried changing the final 1 to 8080, etc, but nothing open SAB in the tab.

If it helps any, Sickbeard's url is: http://localhost:8081/

Re: Can't connect with 8080

Posted: June 16th, 2011, 3:46 pm
by shypike
I've never seen that message coming from Firefox.
Which version do you use?
SickBeard works?

Re: Can't connect with 8080

Posted: June 16th, 2011, 3:46 pm
by sander
jd1940 wrote: I'm using Windows 7 ultimate. When I try and start SAB I get a message: This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.

On the resulting tab I get when trying to open I see: http://192.168.1.6:1/sabnzbd

I've tried changing the final 1 to 8080, etc, but nothing open SAB in the tab.

If it helps any, Sickbeard's url is: http://localhost:8081/
:1 (so port 1) is wrong / useful. That's what Firefox is warning for.

Can you open %userprofile%\AppData\Local\sabnzbd\sabnzbd.ini ? If so, what does the first occurence of "port " tell you? Is it 8080, or 8085, or ... ? Use that port, so http://127.0.0.1:8085/ for example.


If that method doesn't work for you, there's a hefty method: first find the process with "sab' in it's name. Look up the number in the second column, which you use to find the port. See the *example* below. Attention: your process number will be different.

Code: Select all


C:\Users\Sander>tasklist | find /i "Sab"
SABnzbd-helper.exe            2344 Services                   0      7.608 K
SABnzbd-service.exe           2304 Services                   0     26.216 K

C:\Users\Sander>netstat -aon | find /i "2344"

C:\Users\Sander>netstat -aon | find /i "2304"
  TCP    [::]:8080              [::]:0                 LISTENING       2304

C:\Users\Sander>


Re: Can't connect with 8080

Posted: June 16th, 2011, 3:48 pm
by sander
shypike wrote: I've never seen that message coming from Firefox.



... start Firefox, and connect to http://www.google.com:1/ and see the message ... :-)

Apparantly some kind of protection in Firefox

Re: Can't connect with 8080

Posted: June 16th, 2011, 4:21 pm
by jd1940
Went to the ini file. First instance of port is "1". I've tried changing that 1 in the url to 8080, 8085,8090,8095 but get the same message from Firefox saying I can't use that port.

Interestingly enough, SAB will open in Internet Explorer and uses the 192.168.1.6:1/sabnzbd address. However, I couldn't get Sickbeard to open in IE and if they're open in different browsers Sickbeard says: Unable to connect to SAB: socket error.

I just installed the latest version of Firefox, 4.1 - but everything is acting just the same.

Re: Can't connect with 8080

Posted: June 16th, 2011, 4:46 pm
by sander
In the sabnzbd.ini, change that port 1 to port 8080, save the file, then start sabnzbd, and then connect to http://127.0.0.1:8080/

Does that work?

Re: Can't connect with 8080

Posted: June 16th, 2011, 4:53 pm
by jd1940
Changed as you suggested and got the message: Firefox can't establish a connection to the server at 127.0.0.1:8080.

Re: Can't connect with 8080

Posted: June 16th, 2011, 5:03 pm
by jd1940
Some progress. SAB opened after I changed the ini port # to 8106. However, I still seem to have no link between Sick Beard and SAB. I'm getting that same error message from Sick Beard: Unable to connect to SAB: socket error

Any ideas?

Re: Can't connect with 8080

Posted: June 16th, 2011, 5:18 pm
by jd1940
All is well. Once I got SAB open and could see the address/port that was working, I went back into Sick Beard and corrected that and now it's running as it should. I still have no idea what caused this problem in the first place but at least I know a little more than I did and may be better prepared if it should happen again. Thanks, everyone, for your help.