My environment var, PGPORT, is already set to the right port, but I still get:
could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused On Thursday, October 24, 2013 11:19:05 AM UTC-4, Harold Giménez wrote: > > > > > On Wed, Oct 23, 2013 at 9:29 AM, Brian <[email protected] <javascript:>>wrote: > >> I tried that but got this message: LOCAL_TARGET_DATABASE is not a valid >> database name >> > > Oh I see. Sorry, I spoke too soon on my other response. > > It's not documented exactly obvious, but any of the environment variables > available to libpq[1] can be used here, the relevant one being PGPORT. > > So try: > > PGPORT=<custom-port heroku pg:pull [...] > > [1] http://www.postgresql.org/docs/9.2/static/libpq-envars.html > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
