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

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
DcR-Tr4X
Newbie
Newbie
Posts: 3
Joined: December 26th, 2010, 11:41 am

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

Post 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
Last edited by DcR-Tr4X on December 26th, 2010, 12:08 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

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

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

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

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

Post 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.
DcR-Tr4X
Newbie
Newbie
Posts: 3
Joined: December 26th, 2010, 11:41 am

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

Post 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!
xavdeman
Newbie
Newbie
Posts: 1
Joined: February 23rd, 2011, 6:59 pm

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

Post by xavdeman »

This is actually caused by the popular Firefox addon "Fasterfox Lite". The specific option you need to disable is "Disable IPV6 Lookups".
cabbyteve
Newbie
Newbie
Posts: 1
Joined: December 20th, 2010, 12:04 am

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

Post by cabbyteve »

Is this case can occur in IE and Chrome?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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).
Post Reply