As the title says... Chat on...

User avatar
By nfriedly
#9508 I just copy-pasted the http server example, and it works great when I set my wifi mode to STATIONAP - then I can connect to the AP and see the "Hello, NodeMcu." message.

But, when I connect to my home wifi in STATION mode, then I can't seem to connect to the nodemcu's server. curl and chrome both just time out.

I know it's online and connected to my network properly because the http client example will fetch nodemcu.com and dump the hmtl to the command line.

I'm a little bit suspicious of my router blocking wireless-to-wireless connections, but I even had it try to connect to itself via both 127.0.0.1 and wifi.sta.getip() and the connection fails either way.

Any idea what's going on?
User avatar
By nfriedly
#9523 Update: I got ahold of a different wireless router, and when I connect the ESP and my laptop to it, I can see the web page. So I'm pretty sure it is my router pulling shenanigans.

For the record: the broken router is a Netgear WNDR3700v2 that I paid around $100 for.

The working router is a Belkin something-or-other that I paid $18 for at a flea market :/
Last edited by nfriedly on Thu Feb 12, 2015 6:08 pm, edited 1 time in total.