Comment on Is this massive difference to be expected?
towerful@programming.dev 6 days ago
So you have local DNS set up?
If you ping (or dig) speed.mydomain.local, does it resolve the same address as local_ip?
Considering you are accessing local_ip:3000 and the domain on port 443, there is clearly a firewall somewhere redirecting packets or a reverse proxy on the domain but not on local_ip:3000
Follow the port chain, forwarding, proxying etc. One of those will be bottlenecking. Then figure out why
zlatko@programming.dev 6 days ago
yeah, traceroute might hint at that, if this is what is going on.