Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static IP address #5

Open
Lalbabu2001 opened this issue Jan 4, 2024 · 1 comment
Open

Static IP address #5

Lalbabu2001 opened this issue Jan 4, 2024 · 1 comment

Comments

@Lalbabu2001
Copy link

Everytime the esp turns on the ip address changes how to fix that?

@jameszah
Copy link
Owner

jameszah commented Jan 4, 2024

There are pros and cons to static ip address. Routers sometimes to not cooperate.
If you can get into your router, you can tell your it to always provide you the same dynamic ip address.

Or you can add a few lines of code here -- you need to know your gateway and dns for the router.

https://randomnerdtutorials.com/esp32-static-fixed-ip-address-arduino-ide/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants