I think it has something to do with MTU/MSS, but I was hoping someone else had this issue already and knew how to fix it.
I have tested multiple services/listeners they work from other clients, just not the wemos d1 with nodemcu.
My error is always:
> http.get("http://192.168.1.5", nil, function (code, resp) print(code, resp) end)
> HTTP client: Disconnected with error: -11
HTTP client: Connection timeout
-1 nil