WiFi.hostname doesn work
Posted: Fri Jul 28, 2017 8:53 am
String host_name="ESP3";
WiFi.hostname(host_name);
Doesn't work ???
WiFi.hostname(host_name);
Doesn't work ???
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
martinayotte wrote:What do you mean "not working" ?
Does your router shows that ESP3 hostname in the IP leases list ?
Don't expect to be able to do "ping ESP3", it won't work since the DNS doesn't know this hostname.
Use mDNS service on your ESP, install Bonjour on Windows, and then "ESP3.local" will be resolved.
MyESPAP-192B86 192.168.0.101 60:01:94:19:2b:86 23 Hours 55 Minutes