How It Works when your ESP starts up, it sets it up in Station mode and tries to connect to a previously saved Access Point if this is unsuccessful (or no previous network saved) it moves the ESP into Access Point mode and spins up a DNS and WebServer (default ip 192.168.4.1)
what happens if wifi credentials are saved but wifi network is not in range?