How to access Vaultwarden docker in local LAN

The curl command appears to be run inside WSL2 so it’s in a different network space than your ubuntu. I think windows runs a separate virtual machine for the linux subsystem. See Unable to access my first container (on 172.17.0.2) - General Discussions - Docker Community Forums

Does it work via your DOMAIN?