Socket.io Error: getaddrinfo ENOTFOUND

Hi everyone,

When i did a bench start, there is an error in the console even though access through website still works.

23:00:14 socketio.1 | { Error: getaddrinfo ENOTFOUND testing.local testing.local:8000
23:00:14 socketio.1 | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
23:00:14 socketio.1 | errno: ‘ENOTFOUND’,
23:00:14 socketio.1 | code: ‘ENOTFOUND’,
23:00:14 socketio.1 | syscall: ‘getaddrinfo’,
23:00:14 socketio.1 | hostname: ‘testing.local’,
23:00:14 socketio.1 | host: ‘testing.local’,
23:00:14 socketio.1 | port: ‘8000’,
23:00:14 socketio.1 | response: undefined }

ERPNext is installed in Virtualbox. From my host machine, i added “testing.local” into my /etc/hosts so i can access locally via that domain.

Does anyone know how to fix this error?

Thank you

Fixed the error. Just need to add the “testing.local” domain into /etc/hosts of the server.