esp8266-iot-framework icon indicating copy to clipboard operation
esp8266-iot-framework copied to clipboard

mDNS not working

Open marcolino7 opened this issue 2 years ago • 0 comments

Hi, I am trying to configure and make it work mDNS responder in order to make configuration more simple. Looking at varius code around online I found this code

WiFi.hostname("bigclock");
  if (MDNS.begin("bigclock")) {             // Start the mDNS responder for esp8266.local
    MDNS.addService("http", "tcp",80);
    Serial.println("mDNS responder started");
  }

Serial message was on console so MDNS.begin executed succefully. I tried to add before or after WiFiManager.begin(configManager.data.projectName); but it does not work. Anyone get mDNS work?

Marco

marcolino7 avatar Mar 07 '22 15:03 marcolino7