

I explained why. Misconfiguration and caching.
I explained why. Misconfiguration and caching.
You would also need to clear your device’s DNS cache.
It’s the Cypherpunk’s Manifesto all over again.
Not two A records. From what I understand, OP has an A record pointing to their public IP address (which Nginx is listening on behind a NAT). Then, on the local network, OP uses their own DNS server to ignore that entry and instead always serve the local IP when a host on the LAN queries it.
Aside from OP’s devices potentially using a different DNS server (I was only able to solve it for my stock Android by dropping outgoing DNS in my firewall), this solution is a nightmare for roaming devices like mobile phones. Such a device might cache the DNS answer while on LAN or WAN respectively and then try to continue using that address when the device moves to the other network segment.
These are the most likely scenarios in my opinion - OP’s devices are ignoring the hacky DNS rewrite (either due to using a different DNS server or due to caching) and try to access the server via the public IP. This is supported by the connection timeout, which is exactly what you would see when your gateway doesn’t do loopback.
TCP over IP as a protocol is an “open standard”. Network implementations are nearly always strictly proprietary.
The “protocols” behind browsers are public. HTML, CSS, and ECMAScript are all well defined on sites like the Mozilla documentation. You are free to implement your own browser that follows these standards.
Never point your DNS at two different IP addresses like this. It will only cause you pain and unexpected behaviour.
What you are experiencing is solved by so-called “NAT reflection” or “NAT loopback”. It’s a setting that - in the optimal case - you should just be able to activate on the appropriate interface on your gateway.
If you do not have that setting or do not have access to the edge router, but only some intermediate router, you can do a nasty hack. You can point static routes to your public IP address to point at your local IP address instead. In that case, you also need to tell your server to accept packets with your public IP address as the destination.
Same here. I did not think twice about this picture or a few other posts in the past and yet there are pitchforks in the comments and I think to myself “What are you all on about?”. I rue how unrecognizable AI “slop” has gotten.
It just means they are lazy and have no respect for other people’s intellectual property.
It’s not open source by choice. In fact, they tried breaching the license to keep it closed source.
The graph makes no sense. Did a generative AI make it.
Great details! I know the difference personally, but this is a really nice explanation for other readers.
About the last point though: I’m not sure Go always uses the maximum amount of kernel threads it is allowed to use. I read it spawns one on blocking syscalls, but I can’t confirm that. I could imagine it would make sense for it to spawn them lazily and then keep around to lessen the overhead of creating it in case it’s needed later again, but that is speculation.
Edit: I dove a bit deeper. It seems that nowadays it spawns as many kernel threads as CPU cores available plus additional ones for blocking syscalls. https://go.dev/doc/go1.5 https://docs.google.com/document/u/0/d/1At2Ls5_fhJQ59kDK2DFVhFu3g5mATSXqqV5QrxinasI/mobilebasic
Well, they’re userspace threads. That’s still concurrency just like kernel threads.
Also, it still uses kernel threads, just not for every single goroutine.
I absolutely love how easy multi threading and communication between threads is made in Go. Easily one of the biggest selling points.
Hands down the best game I ever played. The immersion is unreal and the ending left me with goosebumps and a dropped jaw.
Still, 200 should not be returned. If you have your own codes, just return 500 alongside that custom code.
Picking emojis that make sense actually made it easy to read.
One Luigi a day, keeps the Spez away.
Not sure if I got the update yet, but I’m banning my printer from accessing the internet right now.
You can still build it yourself.
Privacy company offers privacy focused LLMs for users that would’ve otherwise paid for ChatGPT. Unbelievable
Did you actually ever try Kagi or do you just want to spit uninformed delusions?