You intended this: WiFi.hostname("Testing123"); // best to do after intstantiating and before anything else WiFi.begin(ssid, pass); // here the WiFi starts talking to your router and may give its name "Testing123" to the router