Skip to content

Connecting to Hermes Gateway — Ports & Access Reference

Hermes Gateway exposes several network endpoints. This page describes the default ports and how to connect to each service.

Exposed Ports

Port Service Notes
3399 Upstream MySQL backend (direct) user: root, pass: 123456, database: database
3307 Hermes Gateway SQL listener Credentials depend on auth settings — passthrough by default
2112 Hermes Gateway Prometheus metrics Path: /metrics
8089 Web interface Not available in all versions

Port mappings can be adjusted in the docker-compose.yml file.

Connecting with a SQL Client

Hermes Gateway accepts connections from any standard MySQL-compatible SQL client.

To connect directly to the upstream MySQL backend (bypassing the proxy):

mysql -uroot -p123456 -h127.0.0.1 -P3399 database

To connect through the Hermes Gateway database proxy:

mysql -uroot -h127.0.0.1 -P3307 database

Routing your application through port 3307 enables all Hermes Gateway capabilities — query caching, connection pooling, observability, and data transformation — transparently, with no application changes required.

Prometheus Metrics

Hermes Gateway exposes a Prometheus-compatible metrics endpoint on port 2112 at the /metrics path. For details on available metrics and dashboards, see the Metrics Guide.