Control whether users can expose ports from environments to the network. Useful when:
- Preventing accidental exposure of development services
- Enforcing network security policies
- Restricting access to internal services
Configuration
Check Disable port sharing to prevent port exposure.
Effect on users
Disabling port sharing also disables VS Code Browser for all users in the organization. Users must use VS Code Desktop or another supported editor instead.
- Port sharing blocked via UI and CLI (
gitpod environment port open returns error)
- Services running in environments cannot be accessed via shared URLs
- Users see notification explaining the restriction