ESP8266 - Unable to change MQTT Host



I was originally just testing my ESP8266 NodeMCU v3 board using a public broker. When I tried to make the change to my local MQTT server I changed the User_config.h file and uploaded to the board. However it seems the board is still connecting to the old server. How can I fix this?




if you were using wifi manager maybe try to clean memory when you upload the program,
from the tools menu of the arduino ide choose “erase flash” and select “all flash contents”