I'd like to know how to configure CODESYSControl_User.cfg in order to use a specific network card for OPCUA Server.
In the past, I tried to ask in "Forge" about this topic, but I could find neither help nor document informations about it.
Reading the file "codesyscontrol.log" I see these logs
OPC UA Server Started: Hostname: NTLRPICTRL01, Port: 4840 URL: opc.tcp://NTLRPICTRL01:4840 Loopbackadapter activated. **All available networkadapters are used.** Multithreading activated. 3 workers used.
My controller, which is a Linux PC, has got two network cards eth0 and eth1
I whant to use the card with name "eth0" as a server for OPCUA and keep the "eth1" free for other stuffs.
Is it possible ?
Best regards
Rossano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Even tough I think the content of the link you provided is a bit messy.
To bind OPCUA server to a specific adapter, I should have had insert the following section.
[CmpOPCUA]
NetworkAdapter=eth0
But it doesn't work, I had to insert the following section instead to get the right configuration.
[CmpOPCUAServer]
NetworkAdapter=eth0
Regards
Rossano
Last edit: rossanoparis 2023-08-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello at all
I'd like to know how to configure CODESYSControl_User.cfg in order to use a specific network card for OPCUA Server.
In the past, I tried to ask in "Forge" about this topic, but I could find neither help nor document informations about it.
Reading the file "codesyscontrol.log" I see these logs
My controller, which is a Linux PC, has got two network cards eth0 and eth1
I whant to use the card with name "eth0" as a server for OPCUA and keep the "eth1" free for other stuffs.
Is it possible ?
Best regards
Rossano
check this faq section here:
https://faq.codesys.com/plugins/servlet/mobile?contentId=102137886#content/view/102137886
Thank you @eschwellinger
Even tough I think the content of the link you provided is a bit messy.
To bind OPCUA server to a specific adapter, I should have had insert the following section.
[CmpOPCUA]
NetworkAdapter=eth0
But it doesn't work, I had to insert the following section instead to get the right configuration.
[CmpOPCUAServer]
NetworkAdapter=eth0
Regards
Rossano
Last edit: rossanoparis 2023-08-29
Hi Rossano,
thank you for the feedback,
you are right this need to be changed in the faq section.
Regards
Edwin