You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hmm, it looks like the ESP8266 is just too busy to respond - probably a reboot of the ESP8266 is required (server.close() followed by wifi.reset()).

    By the way: The ESP8266 is never contacted until .listen - so createServer will probably always be successful.

    It's a bit of a hack but you could use the uncaughtException event if you can't find another way of detecting issues : http://www.espruino.com/Reference#l_procĀ­ess_uncaughtException

About

Avatar for Gordon @Gordon started