TCPERVER refused connection
Posted: Mon Nov 16, 2015 12:20 pm
Hello,
I have a Esp8266-01 (on Arduino Mega) which works fine with an android application. My problem is that after a few minutes of inactivity, the TCPServer refuse connection ... Android debugger said "failed to connect to /192.168.43.1 (port 80): connect failed: ECONNREFUSED (Connection refused)"
I tried to change the port number, but still failed. As everything starts to work fine when I reset the Arduino, is the esp8266 triggers deep sleep and how to wake up?
Thank you for your help
I have a Esp8266-01 (on Arduino Mega) which works fine with an android application. My problem is that after a few minutes of inactivity, the TCPServer refuse connection ... Android debugger said "failed to connect to /192.168.43.1 (port 80): connect failed: ECONNREFUSED (Connection refused)"
I tried to change the port number, but still failed. As everything starts to work fine when I reset the Arduino, is the esp8266 triggers deep sleep and how to wake up?
Thank you for your help