Error: getaddrinfo ENOTFOUND lgwebostv lgwebostv:8000
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
Emitted 'error' event at:
at WebSocketClient. (/var/www/html/lgtv2/node_modules/lgtv2/index.js:82:18)
at WebSocketClient.emit (events.js:189:13)
at ClientRequest.handleRequestError (/var/www/html/lgtv2/node_modules/websocket/lib/WebSocketClient.js:227:14)
at ClientRequest.emit (events.js:189:13)
at TLSSocket.socketErrorListener (_http_client.js:392:9)
at TLSSocket.emit (events.js:189:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
events.js:174 throw er; // Unhandled 'error' event ^
Error: getaddrinfo ENOTFOUND lgwebostv lgwebostv:8000 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26) Emitted 'error' event at: at WebSocketClient. (/var/www/html/lgtv2/node_modules/lgtv2/index.js:82:18)
at WebSocketClient.emit (events.js:189:13)
at ClientRequest.handleRequestError (/var/www/html/lgtv2/node_modules/websocket/lib/WebSocketClient.js:227:14)
at ClientRequest.emit (events.js:189:13)
at TLSSocket.socketErrorListener (_http_client.js:392:9)
at TLSSocket.emit (events.js:189:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)