node server can't connect to postgres db
It appears that node-postgres
doesn't accept a hashtag in your password. After removing the hashtag I was able to connect without a problem. Wouldn't have thought of that and it didn't strike me as a problem since pgAdmin accepted it.
The best solution would be to use encodeURIComponent
to encode your password string. This would allow for hashtags to be used in the URL.