this post was submitted on 31 Jan 2025
96 points (99.0% liked)

Firefox

18452 readers
54 users here now

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

founded 5 years ago
MODERATORS
top 33 comments
sorted by: hot top controversial new old
[–] MangoPenguin@lemmy.blahaj.zone 27 points 1 week ago (1 children)

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

[–] possiblylinux127@lemmy.zip 32 points 1 week 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

[–] MangoPenguin@lemmy.blahaj.zone 14 points 1 week ago (1 children)

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

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.

[–] possiblylinux127@lemmy.zip 20 points 1 week ago (2 children)

What is the use case for 0.0.0.0

[–] RvTV95XBeo@sh.itjust.works 24 points 1 week ago

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

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@lemmy.world 14 points 1 week ago* (last edited 6 days 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.

[–] possiblylinux127@lemmy.zip 18 points 1 week ago (1 children)

Firefox doesn't block http at all

[–] RedWeasel@lemmy.world 2 points 1 week ago* (last edited 6 days 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.

[–] sugar_in_your_tea@sh.itjust.works 4 points 1 week 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@lemmy.world 1 points 1 week 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

[–] possiblylinux127@lemmy.zip 2 points 6 days 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@lemmy.world 1 points 6 days 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@lemmy.world 1 points 1 week ago (1 children)

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

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

[–] KickMeElmo@sopuli.xyz 15 points 1 week ago (1 children)

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

[–] RedWeasel@lemmy.world 1 points 1 week ago

Firefox Developer with no addons

[–] flux@lemmy.ml 5 points 1 week 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@lemmy.world 1 points 1 week ago

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

[–] EpicMuch@sh.itjust.works 3 points 1 week ago (1 children)

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

[–] RedWeasel@lemmy.world 1 points 1 week ago

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

[–] eager_eagle@lemmy.world 8 points 1 week 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.

[–] Dave@lemmy.nz 7 points 1 week ago

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

[–] cmgvd3lw@discuss.tchncs.de 7 points 1 week ago

Shit I used it access the interdimensional cable TV.