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

Get help with all aspects of SABnzbd

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

Postby DcR-Tr4X » December 26th, 2010, 1:00 pm

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
Last edited by DcR-Tr4X on December 26th, 2010, 1:08 pm, edited 1 time in total.
DcR-Tr4X
Newbie
Newbie
 
Posts: 3
Joined: December 26th, 2010, 12:41 pm

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

Postby shypike » December 26th, 2010, 5:41 pm

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
User avatar
shypike
Administrator
Administrator
 
Posts: 18772
Joined: January 18th, 2008, 1:49 pm

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

Postby DcR-Tr4X » December 26th, 2010, 6:46 pm

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
DcR-Tr4X
Newbie
Newbie
 
Posts: 3
Joined: December 26th, 2010, 12:41 pm

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

Postby shypike » December 27th, 2010, 3:56 am

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.
User avatar
shypike
Administrator
Administrator
 
Posts: 18772
Joined: January 18th, 2008, 1:49 pm

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

Postby DcR-Tr4X » December 27th, 2010, 10:10 am

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!
DcR-Tr4X
Newbie
Newbie
 
Posts: 3
Joined: December 26th, 2010, 12:41 pm

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

Postby xavdeman » February 23rd, 2011, 8:03 pm

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

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

Postby cabbyteve » February 26th, 2011, 5:45 am

Is this case can occur in IE and Chrome?
cabbyteve
Newbie
Newbie
 
Posts: 1
Joined: December 20th, 2010, 1:04 am

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

Postby shypike » February 26th, 2011, 9:55 am

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).
User avatar
shypike
Administrator
Administrator
 
Posts: 18772
Joined: January 18th, 2008, 1:49 pm


Return to General Help