• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

source of AP IP = 192.168.4.1 in WiFi Manager module

Q&A Forum › Category: ESP32 › source of AP IP = 192.168.4.1 in WiFi Manager module
0 Vote Up Vote Down
Joe Margevicius asked 3 years ago

Where does the assignment of IP=192.168.4.1 as the AP address come from in the WiFi Manager module of Building Web Servers?  (i.e. where is is defined?)

2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
It is the default IP address for the ESP32/ESP8266 when they are in access point mode.
Regards,
Sara

0 Vote Up Vote Down
Joe Margevicius answered 3 years ago

Thanks … just found a reference which explains: “The network established by softAP will have default IP address of 192.168.4.1. This address may be changed using softAPConfig"

So, applying  softAPConfig(local_ip, gateway, subnet)  will assign it in a more obvious way  (e.g. 192.168.1.200, 192.168.4.1, 255.255.0.0  would make the code more easily understood).

..this issue can be closed.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.