---
search:
  tags:
    - edge
    - PUT
seo:
  description: >-
    The edge proxies https://<sandbox>-<port>.<sandbox domain> to the… Reference
    for the PUT /v1/sandboxes/{sandbox}/ports/{port} endpoint in the pols.so
    API.
sidebar:
  label: Publish a sandbox port over HTTPS, or change its visibility
  badge: PUT
title: Publish a sandbox port over HTTPS, or change its visibility
type: openapi-operation
---
The edge proxies `https://<sandbox>-<port>.<sandbox domain>` to the
port over the host's private network, while the sandbox runs. A
private port (the default) needs a login link from `POST
.../ports/{port}/link`; a public one is open to anyone. The service
must listen on the sandbox's network interface (for example
`0.0.0.0`), not only on 127.0.0.1. Port 6080 is the desktop; use
`POST .../desktop` for it.

`PUT /v1/sandboxes/{sandbox}/ports/{port}`
