title: Why am I getting this error in Nodejs? Error: Couldn't resolve host name
body: <p>While testing registration API by Insomnia I am getting this error in insomnia preview: <strong>Couldn't resolve host name</strong>. I am using mongodb database which had been connected with my application.
  <a href="https://i.stack.imgur.com/6n8Rc.png" rel="nofollow noreferrer">Image of Insomnia error</a></p>
  
  <p>Why am I getting this error while everything seems okay?</p>