FerryDocs
ArchitectureNetworking model

Datastore ports

A datastore publishes its port on 127.0.0.1 with a fixed host port.

Edit on GitHub
Terminal
$ 
ColumnUse it fromAddress
INTERNALA container on the private networkapp-db:5432
HOST PORTA tool on the server127.0.0.1:63114

A fixed port

Ferry gives the to a one time, when you create it. The datastore keeps this port after each restart. It gets a new port only if another program took the old port in the meantime.

From another machine

The external connection string has this port and the host from --advertise-host (default 127.0.0.1).

This option changes only the host that Ferry prints. The port stays on 127.0.0.1. To reach a datastore from another machine, use an :

Terminal
ssh -L 63114:127.0.0.1:63114 your-server

On this page