Skip to content

mDNS not working  #4790

Description

@mero20j1

Platform

  • Hardware: ESP8266
  • Core Version: [Esp8266/Arduino v2.4.1|Arduino IDE 1.8.5]
  • Development Env: [Arduino IDE|Platformio]
  • Operating System: [MacOS 10.13.4|iOS 11.4]

Settings in IDE

  • Module: [Wemos mini D1 Pro 16M]
  • Flash Size: [15MB/1MB]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [160MHz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200|other] (serial upload only)

Problem Description

Hello,

I try to use the mDNS library with Wemos mini D1 pro, and that's not working !!!

When I ping the ip it's work, when I ping other .local equipment it's working but when I try to ping or use in some different browser the esp hostname (uvpm.local) a got an error ???

I use mac os with high sierra, iPhones with some different network tools and "bonjour" mDNS scanner, I can see the ip and the open port but not the hostname.local

Esp8266/Arduino v2.4.1

I try to use the MDNS.begin before and after the serveurweb.begin();

Best regards,

MCVE Sketch

wifiManager.autoConnect("UVPM","mdp");

//if you get here you have connected to the WiFi
Serial.println("connected...yeey :)");

serveurWeb.begin();
printHTTPServerInfo();

if (!MDNS.begin("uvpm")) { // Start the mDNS responder for esp8266.local
Serial.println("Error setting up MDNS responder!");
}
Serial.println("mDNS responder started");

// Add service to MDNS-SD
MDNS.addService("http", "tcp", 80);

Metadata

Metadata

Assignees

Labels

waiting for feedbackWaiting on additional info. If it's not received, the issue may be closed.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions