I am using Arduino 1.8.5 on a ESP-12E (NodeMCU 1.0) as a webserver.
A web browser always gives this error (both Firefox or Safari), and the page does not load:
"The connection was reset"
"The connection to the server was reset while the page was loading."
I rolled back to the Wiki examples, like server example sketch- which does not work.
Next, I tried this example, with the same result: Arduino/libraries/ESP8266WiFi/examples/WiFiWebServer/WiFiWebServer.ino
Serial Monitor Output:
Connecting to MyWiFiNetwork
.
WiFi connected
Server started
144.0.0.150
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
new client
GET / HTTP/1.1
invalid request
I'd guess a missing (new 2.4.1) function call or parameter?
Any advice or direction is appreciated.