Demo application: Connection Refused error (ECONNREFUSED)
In the demo application, this connection error appears:
Connection with the WVA device encountered an error: failed to connect to device address (port 5000): Connect failed ECONNREFUSED (Connection Refused)
Possible cause
- The demo application was not able to set the Event Channel port properly.
- The demo application attempted to connect to the named port before the port was set, or during the approximately 15 seconds the web service daemon requires for restart after setting the port.
Solution
Try connecting to the WVA again. See Connect to the WVA.