# pw endpoints

> Source: https://parallelworks.com/docs/cli/pw/endpoints

## pw endpoints

Create and serve self-registering endpoint sessions

### Synopsis

Endpoint sessions expose a locally-running web app through the platform by
dialing out and registering a reverse tunnel — no inbound network access to
your machine is required.

Run **endpoints http PORT** next to an app listening on that port, or
**endpoints http SOCKET_PATH** next to an app listening on a Unix socket. Use
**endpoints https** instead when the local app speaks TLS. The platform forwards
its session URL to your local server until you exit.

### Options

```
  -h, --help   help for endpoints
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw](/docs/cli/pw)	 - The Parallel Works ACTIVATE CLI
* [pw endpoints delete](/docs/cli/pw/endpoints/delete)	 - Delete an endpoint session
* [pw endpoints http](/docs/cli/pw/endpoints/http)	 - Serve a local HTTP app as an endpoint
* [pw endpoints https](/docs/cli/pw/endpoints/https)	 - Serve a local HTTPS app as an endpoint
* [pw endpoints list](/docs/cli/pw/endpoints/list)	 - List your endpoint sessions
* [pw endpoints run](/docs/cli/pw/endpoints/run)	 - Run a command that serves HTTP and expose it as an endpoint
* [pw endpoints serve](/docs/cli/pw/endpoints/serve)	 - Serve a static site directory as an endpoint
