I simply want to connect to the esp8266 as an access point using my phone. I then want to be able to go to a page or site hosted on the esp8266 by typing the correct address into the address bar. What should this address be?
Ideally i would like to be able to type any address and have the esp8266 redirect that reqest to same basic page....like when you log into a secure wifi hotspot and it redirects to the login page. So a user connects to the esp8266, types http://www.google.com, but gets redirected to 'hello world'. I saw on hackaday some did a wifi throwy project that did this, but this was using nodemcu and lua. I wondered if it were possible on espurino.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok. I can see localhost not working.
I simply want to connect to the esp8266 as an access point using my phone. I then want to be able to go to a page or site hosted on the esp8266 by typing the correct address into the address bar. What should this address be?
Ideally i would like to be able to type any address and have the esp8266 redirect that reqest to same basic page....like when you log into a secure wifi hotspot and it redirects to the login page. So a user connects to the esp8266, types http://www.google.com, but gets redirected to 'hello world'. I saw on hackaday some did a wifi throwy project that did this, but this was using nodemcu and lua. I wondered if it were possible on espurino.
Thanks for the help so far.