I have Android app. App sends data from one device to other via socket connection. All works great, but sometimes client app throws exception: failed to connect to /192.168.88.243 (port 9700): connect failed: ECONNREFUSED (Connection refused) Wifi connection is fine.
The puzzle lays in next. device with 192.168.88.243 is correctly achieved by long period of time, but it becomes "failed to connect" unexpectedly. I have checked IP of this device, it still the same.
Can someone, please describe why this happens.