BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Remote connection

esp8266
#1

Hello guys!
I need some help with Node MCU.
I have a local Blynk server installed on RPi3 and a working sketch uploaded into a NodeMCU ESP8266, both of them connected to the same WiFi. My public address is something like myDDNS.ipaddress.net. I forwarded port 9443 in my router so I can connect from anywhere in the world to my Blynk server and everything works perfectly.
My question is: how can I change the Blynk.config(auth, IPAddress (XXX,XXX,XXX,XXX),8080) loaded in NodeMCU so I can connect to myDDNS.ipaddress.net and what ports need to be forwarded in my router, other than 9443? Thank you!

0 Likes

#2

Just put your DDNS URL in your sketch (in quotes) instead of the IP address.

Pete.

2 Likes

#3

Thanks a lot! It works !

0 Likes