The old code set port='8080' then unconditionally overwrote it with os.Getenv("PORT"), which returns "" when unset, causing the server to bind to ':' instead of ':8080'. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>