Remote connection

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!

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

Pete.

2 Likes

Thanks a lot! It works !