webserver IP

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
iceman
New user
Posts: 1
Joined: 05 Sep 2016, 21:13

webserver IP

#1 Post by iceman » 06 Sep 2016, 13:21

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

Drum
Normal user
Posts: 300
Joined: 07 Feb 2016, 11:56

Re: webserver IP

#2 Post by Drum » 07 Sep 2016, 16:01

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests