Skip to content

Error: connect ECONNREFUSED #47

@jgillespie0715

Description

@jgillespie0715
  • on start up, if you receive:
Error: connect ECONNREFUSED 192.168.64.7:3xxxxx
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.64.7',
  port: 3xxxx
}

  • in new terminal window get listing of services

kubectl get svc

postgres NodePort 10.107.195.95 <none> 5432:31500/TCP 9m57s

  • take the result of running:

minikube ip

  • and the port postgres is running on, to form a
    new connection string:

postgres://postgres:[email protected]:31500

  • amend database model file:

server/models/dbmodel.js

-this is a known issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions