Comments on: ESP8266 NodeMCU Static/Fixed IP Address (Arduino IDE) https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 05 Jul 2024 16:38:29 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-934390 Fri, 05 Jul 2024 16:38:29 +0000 https://randomnerdtutorials.com/?p=98407#comment-934390 In reply to Doug B.

Hi.
You have to use the lines of code for a static IP address in all your sketches.
When you upload a new code, the previous one is wiped out.
Regards,
Sara

]]>
By: Doug B https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-934156 Thu, 04 Jul 2024 21:06:40 +0000 https://randomnerdtutorials.com/?p=98407#comment-934156 Hi and thanks for the tutorial. A question, though. When you upload your next sketch to your ESP8266, is it not going to wipe out the previous sketch that was used to set the static IP?
Thanks for clearing this up!
Doug

]]>
By: john https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-805391 Sun, 25 Dec 2022 22:56:37 +0000 https://randomnerdtutorials.com/?p=98407#comment-805391 In reply to Lex Landa.

Thanks, I’ll try it.

]]>
By: Deon https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-794459 Thu, 27 Oct 2022 07:23:45 +0000 https://randomnerdtutorials.com/?p=98407#comment-794459 In reply to Sara Santos.

I figured it out.
I replaced the network code from the web server tutorial with this one and placed the IP assign code within the void setup().
Thanks for this tutorials

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-794302 Wed, 26 Oct 2022 10:32:55 +0000 https://randomnerdtutorials.com/?p=98407#comment-794302 In reply to Deon.

Hi.
What errors do you get?
Regards,
Sara

]]>
By: Deon https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-794195 Tue, 25 Oct 2022 19:29:23 +0000 https://randomnerdtutorials.com/?p=98407#comment-794195 Hi, I want to add this to another tutorial of yours namely: ESP8266 NodeMCU Relay Module – Control AC Appliances (Web Server)
However, I receive many errors, guessing it is code clashing. I need to control appliances from my website but the IPs keeps changing

]]>
By: ajit jha https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-770694 Sat, 23 Jul 2022 19:15:40 +0000 https://randomnerdtutorials.com/?p=98407#comment-770694 uploade-connected to wifi too but when load the local adress unable to connect and program html page never loaded

]]>
By: luke https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-750733 Sat, 21 May 2022 00:32:43 +0000 https://randomnerdtutorials.com/?p=98407#comment-750733 Hi,I’m 14 from Taiwan,Thank you so much for your tutorial ,could you tell me if this will also work in AP mode?Thanks!

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-710932 Mon, 20 Dec 2021 00:15:49 +0000 https://randomnerdtutorials.com/?p=98407#comment-710932 In reply to Thelooneytoons.

Hi.
What you do mean?
Are you trying to connect to the ESP32 using a different network?
If the devices are not on the same network, it will not work.
Regards,
Sara

]]>
By: Thelooneytoons https://randomnerdtutorials.com/esp8266-nodemcu-static-fixed-ip-address-arduino/#comment-710540 Sat, 18 Dec 2021 17:12:24 +0000 https://randomnerdtutorials.com/?p=98407#comment-710540 Hiii, im using a websocket server on nodemcu connecting to a website. When im running the client code on the same computer connected to same wifi it works but when it’s connected to a different wifi im getting and error and I’m not able to connect to the server that is on nodemcu. Do you have any solution for it?

]]>