Page 1 of 1

webserver IP

Posted: 06 Sep 2016, 13:21
by iceman
Hi, one little question.
Why webserver ip is fixed to 192.168.4.1?
WebServer.send(200, "text/html", "<meta HTTP-EQUIV='REFRESH' content='0; url=http://192.168.4.1/setup'>");
and not obtained from the assigned (DHCP or fixed configurated) IP from the config?

because, in that case for ex, i have to mantain netmask opened to reach that ip, that is different to my network base address

Re: webserver IP

Posted: 07 Sep 2016, 16:01
by Drum
I am not sure what release you are using, but all of mine only have that address when no AP is assigned, or if they are unable to connect.
192.168.4.1 is the default setup address. Connect to the AP vis WiFi then enter that address.

Try reading the tutorials..
Just past the domoticz part on this one is a good place to start...
http://www.esp8266.nu/index.php/Tutoria ... icz_Switch

Do a lot of reading in the Wiki and the Forums, you will probably find everything you want to know.