Change the IP server IP address

38 views
Skip to first unread message

Pablo Ugarte

unread,
Jun 20, 2022, 11:13:28 AMJun 20
to open62541
I want to change the IP address of my server on Debian,  but I can't find the UA_ServerConfig_setCustomHostname()  replacement.

Could you help me?
Thanks!

Julius Pfrommer

unread,
Jun 21, 2022, 1:53:12 AMJun 21
to open62541

Pablo Ugarte

unread,
Jun 21, 2022, 5:33:37 AMJun 21
to open62541
Hello Julius,
Thanks for your answer, unluckily it din't work for me.
Can you look at my code ? Im trying to parametrize the IP adress via arguments.

Thank you for your help!
IP_Problem.png

Julius Pfrommer

unread,
Jun 24, 2022, 9:39:33 AMJun 24
to open62541
That looks good. What do you use for argv[1]?
It should have the format opc.tcp://<hostname>:<port>.

Regards
Reply all
Reply to author
Forward
0 new messages