FerryDocs

Datastore ports

Each datastore publishes its port on 127.0.0.1 of the server, for the tools that run there.

Edit on GitHub
Your serverSSH tunnelYour machinepsql, a GUIInternet127.0.0.1:62975port on the serverapp-dbdatastore

Ferry publishes the port of the datastore on 127.0.0.1 of the server.

1 / 3

Each also publishes its on the server: on 127.0.0.1, with a port that Ferry chooses one time, when you create the datastore.

The external uses that port. Thus tools on the server itself can connect: psql, or a GUI through an .

Open a tunnel

Terminal
ssh -L 62975:127.0.0.1:62975 you@your-server   # then use the external URL on your machine

The host in the connection string

--advertise-host changes only the host that Ferry prints in external connection strings. The default is 127.0.0.1.

The port stays bound to 127.0.0.1. Ferry never exposes a datastore on a public interface.

See Datastores.

On this page