How is the Postgres connection url formed, when the host is some other computer than the localhost?
I have allowed Postgres to accept requests from outside.
How is the Postgres connection url formed, when the host is some other computer than the localhost?
I have allowed Postgres to accept requests from outside.
Here is the documentation for JDBC, the general URL is "jdbc:postgresql://host:port/database"
Chapter 3 here documents the ADO.NET connection string,
the general connection string is Server=host;Port=5432;User Id=username;Password=secret;Database=databasename;
PHP documentation us here, the general connection string is
host=hostname port=5432 dbname=databasename user=username password=secret
If you're using something else, you'll have to tell us.