0

IPHONE communication to ESP8226
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

IPHONE communication to ESP8226

by Bobby_Y on Wed Mar 06, 2019 2:18 pm

Hello,

I have used the Ardunio environment and created a Web Page in a ESP8226 module. It works fine when I access it from a computer.
The ESP8226 is connected to the WiFi network and the computer is connected to the router via Ethernet cable.
Using the Computer, I open a web browser. Then I type the IP address of the ESP8226 module. The Web Page opens and I can control
LEDs, ...

But when I try to do that using the IPHONE Safari, it says that it can not find the page.
The IPHONE is also connected to the same WiFi network that the ESP8226 is connected.

Do I need to add something to the program. Would you like to see my program?

Please help.

Thanks
Bobby

Bobby_Y
 
Posts: 18
Joined: Mon Mar 04, 2019 6:05 pm

Re: IPHONE communication to ESP8226

by adafruit_support_mike on Thu Mar 07, 2019 5:40 am

Check to make sure your phone is using the Wifi connection, and not its cellular data connection. A cell tower won't be able to find an IP address in your private LAN.

You might also want to add some mDNS code to the ESP8266 so it responds to a machine name like 'esp8266.local'. The '.local' domain name will give the phone a hint to look for a device connected to the LAN instead of one visible to the internet in general.

adafruit_support_mike
 
Posts: 58339
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.