vesparny / fair-analytics

📊 An analytics server that doesn't undermine user's privacy
MIT License
748 stars 24 forks source link

Error: listen EADDRNOTAVAIL: address not available #24

Open talentlessguy opened 4 years ago

talentlessguy commented 4 years ago

When I try to scan my site with this command:

fair-analytics -H v1rtl.site -p 80

I get this error:

Error: listen EADDRNOTAVAIL: address not available 35.228.53.122:80
    at Server.setupListenHandle [as _listen2] (net.js:1292:21)
    at listenInCluster (net.js:1357:12)
    at GetAddrInfoReqWrap.doListen [as callback] (net.js:1496:7)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:10)
Emitted 'error' event on Server instance at:
    at emitErrorNT (net.js:1336:8)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  code: 'EADDRNOTAVAIL',
  errno: -99,
  syscall: 'listen',
  address: '35.228.53.122',
  port: 80
}

My website loads fine, so it is available:

image

Looks like it checks an IP of now.sh instead of my website and throws an error. Even though, the address (IP address) is available:

image