Re: [nodejs] Connection error with nodejs while connecting to postgres.

2019-02-18 Thread DaneiL
if you can connect via psql command, you should connect via nodejs instance. psql -U -h On Mon, 18 Feb 2019 at 14:05, wrote: > I'm able to connect to postgre database in my local machine and postgre > database with public ip using nodejs. But im unable to connect to postgre > instance in other

[nodejs] Connection error with nodejs while connecting to postgres.

2019-02-18 Thread sankin619
I'm able to connect to postgre database in my local machine and postgre database with public ip using nodejs. But im unable to connect to postgre instance in other machines on different network.Im getting error Error: connect ETIMEDOUT ip:port at TCPConnectWrap.afterConnect [as oncomplet