Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 23 additions & 22 deletions develop-docs/development-infrastructure/environment/ports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,29 @@ The following is a non-exhaustive list of ports used by Sentry services or any d
* Finding out why a port is used on your work machine and which process to kill to make it free.
* Finding out which ports are probably safe to assign to new services.

| Port | Service | Description
|:-----|:-------------------------------------------|:-----------
| 9000 | Clickhouse | <Link to="/development/devservices/">Devservice</Link> `clickhouse`. Database for Snuba.
| 8123 | Clickhouse |
| 9009 | Clickhouse |
| 3021 | Symbolicator | <Link to="/development/devservices/">Devservice</Link> `symbolicator`. For processing stacktraces.
| 1218 | [Snuba][] | <Link to="/development/devservices/">Devservice</Link> `snuba`. For searching events.
| 1219 | [Snuba][] admin | Not part of devservices setup, but running `snuba admin` will listen on this port.
| 9092 | Kafka | <Link to="/development/devservices/">Devservice</Link> `kafka`. for relay-sentry communication and optionally for sentry-snuba communication
| 6379 | Redis | <Link to="/development/devservices/">Devservice</Link> `redis` (or perhaps installed via Homebrew in rustier setups), responsible for caches, relay projectconfigs and Celery queues
| 5432 | Postgres | <Link to="/development/devservices/">Devservice</Link> `postgres` (or perhaps installed via Homebrew in rustier setups)
| 7899 | [Relay][] | <Link to="/development/devservices/">Devservice</Link> `relay`. Serves APIs for SDKs to send events to (aka event ingestion). Webpack on 8000 reverse-proxies to this server. Starts/stops with `sentry devserver`.
| 8000 | <Link to="/development/environment/">Sentry Dev</Link> | Webpack devserver, routing all ingest paths to Relay, and the rest to uWSGI. Routing is defined in `webpack.config.ts` in Sentry.
| 8001 | uWSGI | Starts/stops with `sentry devserver`. Serves the Django app/API. Webpack on 8000 reverse-proxies to this server. In a siloed devserver, this port is used for control silo.
| 8010 | uWSGI (region silo) | Starts/stops with `sentry devserver --silo=region`. Serves the Django app/API. Webpack on 8000 reverse-proxies to this server.
| 7999 | Sentry frontend prod proxy | For testing local UI changes against a prod API
| 8000 | [Develop docs][] | The website around this document. **Conflicts with Sentry Dev.**
| 3000 | [User docs][] | User-facing documentation. May conflict with Relay if Relay is run outside of devservices.
| 9001 | Sentry Dev Styleguide server | Bound when running `sentry devserver --styleguide`
| 9000 | `sentry run web` | Legacy default port for `sentry run web`, changed to 9001 to avoid conflict with Clickhouse.
| 9001 | `sentry run web` | Barebones frontend without webpack or Relay. <Link to="/development/environment/">Sentry Dev</Link> is likely better. **Conflicts with Sentry Dev Styleguide server.**
| 8000 | [Relay][] mkdocs documentation | At some point this is going to get merged into our existing docs repos. **Conflicts with Sentry Dev.**
| Port | Service | Description
|:------|:-------------------------------------------|:-----------
| 9000 | Clickhouse | <Link to="/development/devservices/">Devservice</Link> `clickhouse`. Database for Snuba.
| 8123 | Clickhouse |
| 9009 | Clickhouse |
| 3021 | Symbolicator | <Link to="/development/devservices/">Devservice</Link> `symbolicator`. For processing stacktraces.
| 1218 | [Snuba][] | <Link to="/development/devservices/">Devservice</Link> `snuba`. For searching events.
| 1219 | [Snuba][] admin | Not part of devservices setup, but running `snuba admin` will listen on this port.
| 9092 | Kafka | <Link to="/development/devservices/">Devservice</Link> `kafka`. for relay-sentry communication and optionally for sentry-snuba communication
| 6379 | Redis | <Link to="/development/devservices/">Devservice</Link> `redis` (or perhaps installed via Homebrew in rustier setups), responsible for caches, relay projectconfigs and Celery queues
| 5432 | Postgres | <Link to="/development/devservices/">Devservice</Link> `postgres` (or perhaps installed via Homebrew in rustier setups)
| 7899 | [Relay][] | <Link to="/development/devservices/">Devservice</Link> `relay`. Serves APIs for SDKs to send events to (aka event ingestion). Webpack on 8000 reverse-proxies to this server. Starts/stops with `sentry devserver`.
| 8000 | <Link to="/development/environment/">Sentry Dev</Link> | Webpack devserver, routing all ingest paths to Relay, and the rest to uWSGI. Routing is defined in `webpack.config.ts` in Sentry.
| 8001 | uWSGI | Starts/stops with `sentry devserver`. Serves the Django app/API. Webpack on 8000 reverse-proxies to this server. In a siloed devserver, this port is used for control silo.
| 8010 | uWSGI (region silo) | Starts/stops with `sentry devserver --silo=region`. Serves the Django app/API. Webpack on 8000 reverse-proxies to this server.
| 7999 | Sentry frontend prod proxy | For testing local UI changes against a prod API
| 8000 | [Develop docs][] | The website around this document. **Conflicts with Sentry Dev.**
| 3000 | [User docs][] | User-facing documentation. May conflict with Relay if Relay is run outside of devservices.
| 9001 | Sentry Dev Styleguide server | Bound when running `sentry devserver --styleguide`
| 9000 | `sentry run web` | Legacy default port for `sentry run web`, changed to 9001 to avoid conflict with Clickhouse.
| 9001 | `sentry run web` | Barebones frontend without webpack or Relay. <Link to="/development/environment/">Sentry Dev</Link> is likely better. **Conflicts with Sentry Dev Styleguide server.**
| 8000 | [Relay][] mkdocs documentation | At some point this is going to get merged into our existing docs repos. **Conflicts with Sentry Dev.**
| 50051 | Taskbroker | <Link to="/backend/application-domains/tasks/">taskbroker</Link> gRPC interface for taskbroker.

## Finding out what's running on your machine

Expand Down
Loading