Javier Gutierrez
Javier Gutierrez

Reputation: 559

Connect Heroku postgres from localclient

I'm trying to connet with

psql -h ec2-23-23-227-54.compute-1.amazonaws.com -U igcmskkpsx igcmskkpsx

but it answer:

psql: no se pudo conectar con el servidor: Connection timed out (0x0000274C/10060)
        ¿Está el servidor en ejecución en el servidor «ec2-23-23-227-54.compute-1.amazonaws.com» y aceptando
        conexiones TCP/IP en el puerto 5432?

Please any suggestion?

Upvotes: 1

Views: 1027

Answers (2)

Javier Gutierrez
Javier Gutierrez

Reputation: 559

Heroku dosen't allow access from an external client while the account is free; I had to use the cleanMysql plugin to access from my local navicat

Upvotes: 2

CraigKerstiens
CraigKerstiens

Reputation: 5954

You may need to specify the port with -P porthere when connecting if its not runnin gon the default port.

Upvotes: 0

Related Questions