logo elektroda
logo elektroda
X
logo elektroda

NodeMcu mDNS does not load the site via http://esp8266.local, but via IP it does

globalinfo 783 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17150692
    globalinfo
    Level 13  
    Hello,
    I wanted to use the code below, but when I enter http://esp8266.local in the browser bar, the page does not display.
    On the other hand, after entering the IP address, it works fine.
    Can someone tell me what the problem is.
    Code: C / C++
    Log in, to see the code
    .
  • ADVERTISEMENT
  • #2 17210726
    krzbor
    Level 27  
    I haven't used mDNS, but from the description in Wikipedia and the project page, it seems that it doesn't work on Windows by default " is implemented by the Apple Bonjour and open source Avahi software packages. Android contains an mDNS implementation. mDNS has also been implemented in Windows 10, but its use there is limited to discovering networked printers". I don't know if you installed this additional software (if you tested on WIN). It is usually simpler on the router to disable some addresses from DHCP and on the ESP8266 to permanently assign an IP address from outside the DHCP pool. Having a fixed IP you can assign it to any name in the hosts file. And here's another interesting article Link
ADVERTISEMENT