this post was submitted on 31 Jan 2025
86 points (98.9% liked)

Firefox

18649 readers
55 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
top 31 comments
sorted by: hot top controversial new old
[–] [email protected] 25 points 3 weeks ago (1 children)

I didn't even realize 0.0.0.0 was a valid address to enter into a browser! TIL.

[–] [email protected] 31 points 3 weeks ago (1 children)

On Linux it is just a catch all address (listen on all interfaces)

Elsewhere it doesn't do anything since I don't believe it is part of the networking standards

[–] [email protected] 15 points 3 weeks ago (1 children)

Yeah I'm familiar with that part, I just meant in context of a browser being able to connect to it.

[–] [email protected] 2 points 3 weeks ago

If I were implementing it, I'd just list all interfaces on the machine and see if there's a service bound to it on the given port. There's probably only one, but it's technically undefined behavior I think.

[–] [email protected] 20 points 3 weeks ago (2 children)

What is the use case for 0.0.0.0

[–] [email protected] 25 points 3 weeks ago

Just in case you want to do nothing, nowhere in particular.

[–] [email protected] 6 points 3 weeks ago

0.0.0.0 binds to all addresses on the machine for servers, but I don't know what a browser would do when trying to resolve it. I guess look at all addresses on the machine and see if anything has bound to the indicated port on that address? First one it finds wins?

[–] RedWeasel 13 points 3 weeks ago* (last edited 3 weeks ago) (4 children)

I just wish they'd stop blocking http requests on lan addresses honestly.

Thanks for the suggestions. While I was investigating I ended up looking and had a proxy issue. Obviously a problem on my part.

[–] [email protected] 18 points 3 weeks ago (1 children)

Firefox doesn't block http at all

[–] RedWeasel 2 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Try the Firefox Developer version. No addons.

EDIT: Thanks for the suggestions. While I was investigating I ended up looking and had a proxy issue. Obviously a problem on my part.

[–] [email protected] 4 points 3 weeks ago (1 children)

That would kill development, because accessing http services locally is something pretty much only developers do. What is the error message?

[–] RedWeasel 1 points 3 weeks ago (2 children)

Unable to connect

Firefox can’t establish a connection to the server at 192.168.2.210.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox Developer Edition is permitted to access the web.

I don't see an error in the log about the specific page I am trying to access, but another had a link to https://support.mozilla.org/en-US/kb/https-only-prefs?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default&as=u

[–] [email protected] 2 points 3 weeks ago (1 children)

I don't think they ware going to start disabling http. Http is needed in a lot of cases to get https plus there are still use cases for http like testing.

Have you fired up Wireshark and looked at what port it is connecting to?

[–] RedWeasel 1 points 3 weeks ago

Thanks for the suggestions. While I was investigating I ended up looking and had a proxy issue. Obviously a problem on my part.

[–] RedWeasel 1 points 3 weeks ago (1 children)

And of course adding an exception or turning it off doesn't work either.

[–] [email protected] 1 points 3 weeks ago

Perhaps a bug then? AFAIK, "developer edition" is basically just nightly.

[–] [email protected] 16 points 3 weeks ago (1 children)

Pretty sure you have an addon doing that, because Firefox doesn't.

[–] RedWeasel 1 points 3 weeks ago

Firefox Developer with no addons

[–] [email protected] 5 points 3 weeks ago (1 children)

Do you have standard Firefox with default options that does this? This has not been my experience.

You could try out with a new profile if it works out the same.

[–] RedWeasel 1 points 3 weeks ago

I just tried to use the Developer version. With no addons.

[–] [email protected] 3 points 3 weeks ago (1 children)

Could you share a link for me to read up more on this?

[–] RedWeasel 1 points 3 weeks ago

I was trying to use the Firefox Developer version. Just straight up refused.

[–] eager_eagle 8 points 3 weeks ago

Fine by me. I self-host a lot of stuff but never used 0.0.0.0 for browsing, so I just disabled it here to try it out.

[–] [email protected] 6 points 3 weeks ago

The linked blog post explains about the vulnerability, I thought it was quite interesting.

[–] [email protected] 6 points 3 weeks ago

Shit I used it access the interdimensional cable TV.