mantorok1 / RinnaiTouchClient

Client for controlling a Rinnai Touch Module
MIT License
2 stars 0 forks source link

Error: connect ECONNREFUSED error recieved when running node Rinnai #1

Open dekanayake opened 2 months ago

dekanayake commented 2 months ago

Hi,

I get the following error when running the node Rinnai command.

Error: connect ECONNREFUSED 192.168.0.137:27847 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.0.137', port: 27847 } Connection Closed

mantorok1 commented 2 months ago

Hi @dekanayake, The error ECONNREFUSED means that the connection to the specified IP address and port was refused. The Rinnai Touch's network connectivity can be very temperamental. There are a few things you can do to try to resolve the connectivity issue:

  1. As the Rinnai Touch only allows a single TCP connection at a time ensure nothing else is connected to it. Force quit the Rinnai Touch app on all your devices
  2. Ensure the Rinnai Touch at 192.168.0.137 is running and listening on port 27847. You can use tools like netcat (macOS/Linux) or Test-NetConnection (Windows)
  3. Check your network configuration and firewall settings to ensure that nothing is blocking the connection
dekanayake commented 2 months ago

thanks , i will follow your suggestions