this post was submitted on 31 Jan 2025
95 points (98.0% liked)

Firefox

20317 readers
158 users here now

/c/firefox

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


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 5 years ago
MODERATORS
top 33 comments
sorted by: hot top controversial new old
[–] MangoPenguin@lemmy.blahaj.zone 27 points 5 months 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 5 months 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 5 months 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 5 months ago (2 children)

What is the use case for 0.0.0.0

[–] RvTV95XBeo@sh.itjust.works 24 points 5 months 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 15 points 5 months ago* (last edited 5 months 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 5 months ago (1 children)

Firefox doesn't block http at all

[–] RedWeasel@lemmy.world 2 points 5 months ago* (last edited 5 months 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 5 months 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 5 months 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 5 months 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 5 months 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 5 months 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 5 months ago (1 children)

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

[–] RedWeasel@lemmy.world 1 points 5 months ago

Firefox Developer with no addons

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

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

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

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

[–] RedWeasel@lemmy.world 1 points 5 months ago

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

[–] eager_eagle@lemmy.world 8 points 5 months 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 5 months ago

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

[–] cmgvd3lw@discuss.tchncs.de 7 points 5 months ago

Shit I used it access the interdimensional cable TV.