ESP8266 (NodeMcu) connecting to a server (fixed ip / ddns)
Posted: Wed Mar 07, 2018 11:15 am
Hello everyone.
I need the help of the smartest people.
I currently have some esp8266 working as client connecting to a server (C # application).
Use to connect the following: Client.connect (server, PORT)
the server address is: byte server [4] = {192,168,1,100};
everything works perfect it plugs perfectly.
However I need to make it connect to the server through a DDNS (server.ddns.net) for example but I do not know how to enter that value in the arduino IDE for ESP.
It would be lake type: string server {server.ddns.net} ??? I do not know I need this help .. please !!!
I need the help of the smartest people.
I currently have some esp8266 working as client connecting to a server (C # application).
Use to connect the following: Client.connect (server, PORT)
the server address is: byte server [4] = {192,168,1,100};
everything works perfect it plugs perfectly.
However I need to make it connect to the server through a DDNS (server.ddns.net) for example but I do not know how to enter that value in the arduino IDE for ESP.
It would be lake type: string server {server.ddns.net} ??? I do not know I need this help .. please !!!