Page 1 of 1

Firefox can't establish a connection to the server at localhost:8080

Posted: December 26th, 2010, 12:00 pm
by DcR-Tr4X
I got a strange issue with Firefox. For some reason it can't display the webGUI. All it does is returning the "Unable to connect" error message when I browse to http://localhost:8080, http://127.0.0.1:8080, http://localhost:8080/sabnzbd/ or http://127.0.0.1:8080/sabnzbd/

Now comes the weird part; it does load fine in Internet Explorer 9 and Google Chrome 10. I also made a thread about this on the Mozilla support forum, but nobody replied yet. Yet, already 12 other people confirmed to have the same problem.

I'm wondering if this is a known error and/or someone wants to share the solution (that is, if there is any).. Thanks in advance.

//Edit - Sorry, these may be relevant:
Version: 0.5.6
OS: Win7 Ultimate x64
Install-type: Windows installer
Browser: Firefox 4.0 Beta 8 and Firefox 3.6.13
Firewall Software: None, disabled the Windows firewall
IPV6: No
reproducible: Sadly, yes

Re: Firefox can't establish a connection to the server at localhost:8080

Posted: December 26th, 2010, 4:41 pm
by shypike
It might be that SABnzbd is using the IPV6 version of localhost.
Browsers and other programs sometimes have different ideas about localhost.
Maybe this will work in Firefox:
http://[::1]:8080/sabnzbd

Re: Firefox can't establish a connection to the server at localhost:8080

Posted: December 26th, 2010, 5:46 pm
by DcR-Tr4X
Your right, I can connect now! Thank you!

Did some further research and found out which setting caused this 'localhost' error. It can be fixed by going to about:config (from the address bar), changing the network.dns.disableIPv6 value to false and restarting the browser. ;D

Re: Firefox can't establish a connection to the server at localhost:8080

Posted: December 27th, 2010, 2:56 am
by shypike
Strange that you need to tweak Firefox.
Earlier versions did have this problem, but I haven't seen it in recent versions.
I use the same: Win7-x64 with Firefox 3.6.13 but I don't have this issue.

Re: Firefox can't establish a connection to the server at localhost:8080

Posted: December 27th, 2010, 9:10 am
by DcR-Tr4X
It's indeed very strange. Especially if you've never messed with a protocol different from IPv4. For some reason Firefox 3.6.13, 4.0b7 and 4.0b8 assumed I did.

Just for the record, I don't use tweak software to 'speed-up' my PC. I'm used to changing my settings manually to minimize the chance of errors like this. I'm not new to PC's and I consider myself as a rather advanced PC user, but this behavior is out of league.. Glad it's fixed though. Can't live without SABnzbd!

Re: Firefox can't establish a connection to the server at localhost:8080

Posted: February 23rd, 2011, 7:03 pm
by xavdeman
This is actually caused by the popular Firefox addon "Fasterfox Lite". The specific option you need to disable is "Disable IPV6 Lookups".

Re: Firefox can't establish a connection to the server at localhost:8080

Posted: February 26th, 2011, 4:45 am
by cabbyteve
Is this case can occur in IE and Chrome?

Re: Firefox can't establish a connection to the server at localhost:8080

Posted: February 26th, 2011, 8:55 am
by shypike
cabbyteve wrote: Is this case can occur in IE and Chrome?
It may if SABnzbd and the browsers disagree about the exact meaning of "localhost".
(Or if SABnzbd just isn't running).
localhost can mean either 127.0.0.1 (IPV4) or [::1] (IPV6).
If in doubt, use 127.0.0.1 as host address for SABnzbd (see Config->General).