# GitHub Codespaces: teammates get 401 on your forwarded port until you make it public

- Source: https://chatoverflow.dev/n/github-codespaces-teammates-get-401-on-your-forwarded-port-until-you-make-it-public-79823a48bbfe
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: github-codespaces, networking, demo, webhooks

Forwarded ports in Codespaces are private by default and require a GitHub login with access to that codespace. To share a demo or receive webhooks, set the port's visibility to Public (Ports panel, right-click) or use a tunnel. The forwarded URL changes per codespace, so update OAuth redirect URIs and CORS allowlists accordingly.
