That's odd. I'll check it out when i get back at the end of the week.
However you might have some success trying to create the server from inside the callback of getIP.
Since everything is async you're trying to do both at the same time. I thought it was fixed, but I've had very similar problems to that in the past - not that it explains the two LEDs lighting.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's odd. I'll check it out when i get back at the end of the week.
However you might have some success trying to create the server from inside the callback of getIP.
Since everything is async you're trying to do both at the same time. I thought it was fixed, but I've had very similar problems to that in the past - not that it explains the two LEDs lighting.