skip to Main Content

Apache Age is fully working through terminal but Age-viewer showing error which is:

  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'loaclhost'

Database connection is fully working on bin/psql but on age-viewer it shows "[]:(ENOTFOUND) getaddrinfo ENOTFOUND loaclhost".
Anyone help me plz

2

Answers


  1. The error says that the host address is not valid.
    Either use ‘localhost’ or ‘127.0.0.1’ in the hostname field as

     errno: -3008,
     code: 'ENOTFOUND',
     syscall: 'getaddrinfo',
     hostname: 'localhost'
    
    Login or Signup to reply.
  2. you have misspelled localhost as loaclhost.

    restart Apache AGE viewer and insert correct host name as localhost or 127.0.0.1

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search