[127.0.0.1]: connect ECONNREFUSED 127.0.0.1:22 code example Example: Connection error: connect ECONNREFUSED 127.0.0.1:5432 database system is ready to accept connections