If you’ve specified a static IP address for your NodeMCU then DHCP leases shouldn’t come into the equation.
Are you sure you’ve no accidentally updated the code on this test NodeMCU (maybe via a OTA upload)? Do you have some sort of scheduled HTTP OTA update process that ran at midnight and re-flashed the wrong .bin file to your NodeMCU?
thank you Pete.
yes I am sure, and this nodemecu is on my USB port.
since I changed DHCP to off, nodemecu came online at 192.168.0.56.
I think the problem is between my ISP box DHCP and the Dlink DHCP auto .
now all works fine.
192.168.0.56 is already out of the DHCP pool.
the 1st DHCP server is 10 to 50
and the second was 100 to 2xx
the second DHCP server is disable, so now, everything works well