I am running a Postgres database in a Repl (via psql
) and want to access the database on the .repl.co
domain.
To be more succinct, I want to expose a database I already have and available locally on port 5432 on an external port and have that forwarded by Replit. Port 3000 is already forwarded to port 80. Does anyone here know how to accomplish this/has done this before?
Ideally, I should be able to run the database in Repl and then connect via psql -h db.username. repl.co ...
.