Skip to main content
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. Port sharing restrictions

Exemptions

VS Code Browser and agents are exempt from this policy and continue to work when port sharing is disabled. Only user-initiated port sharing is affected.

Effect on users

  • 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
  • VS Code Browser and agents remain functional