So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Peter Mathews
#82044 Hi,
I have used a number of generic programmes to try to let me see my NodeMCU ESP8266 as a web server.

However although the code compiles uploads & runs and outputs its IP address - when I try to connect to it using a PC or phone using that IP address it cannot connect.

I have enabled debugging and when I try to connect I get multiple :
wifi evt: 7
printed out - so something is getting through to the NodeMCU but it is not responding.

Any ideas??
User avatar
By mel
#82209 Hi, i have been having problems with the cheaper NodeMcu the one with 2 chips not the one with the square silver chip,,, ok when i test and upload the sketch from windows 10 using arduino IDE it looks to upload ok, but shortly after connecting to the wifi it crashes, but if i upload it in Linux from Arduino IDE, it connects to the wifi and it works fine, i tried on 2 windows 10 computers, no luck, but Linux looks to be ok.
User avatar
By quackmore
#82421 have a look to the wifi events
Code: Select allfrom "user_interface.h" ...
enum {

wifi event 7 just says your nodemcu wifi AP is being probed by some station around (likely the PC or the phone)
but you also say the nodemcu connects to your network
does that mean your nodemcu is configured as station + softap ?
two different interfaces with two different IPs and obviously two separate networks ?
which one is the web server listening on ?

sometimes, you're better off keeping things simple
and choose if you want your nodemcu to work as an independent AP or connected to your network