[Solved] Nuxt startup error: error: getaddrinfo enotfound 0

nuxt project start,npm run dev error Error: getaddrinfo ENOTFOUND 0


Reason: servein nuxt.config.js config host,change '0' to '0.0.0'

  server: {
    // host: '0', 
    host: '0.0.0.0', 
    timing: false
  },

Start again, successful


Read More: