NB UDP NTP Client replace IP address with other address

Hey! Probably a big beginners question but:
I am using this example code https://docs.arduino.cc/tutorials/mkr-nb-1500/mkr-nb-library-examples and I want to replace the IP Address given in the example, with an Webserver a colleague of mine prepared for me : IPAddress timeServer(129, 6, 15, 28); with something in a format of xx1-11-11-111-11.xx-xxxx-1.xxxxxxx.xxxxxxxxx.com

What do I need to change in this code? Or is there a way to get the IP of the webserver my colleague gave me?

Thank you!

If the IP address is static (does not change), then you can use something like this:

For this host, you can either use 104.143.9.110 or 104.143.9.111.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.