Diagnostic step 1
Run sudo ss -lntp | grep :3000 (or sudo lsof -iTCP:3000 -sTCP:LISTEN) to identify the process and PID listening on the host port. Result meaning: If output shows a PID and process name (systemd, nginx, node, etc.), that process is the current owner and must be stopped or reconfigured. If no process is shown but kernel shows TIME_WAIT only, a previous connection may linger (temporary). If docker-proxy appears, an existing container or stale mapping is holding the port.