I have trouble connection to my OPC-UA server using the endpointUrl opc.tcp://1.2.3.4:1111.
Even though my endpointUrl contains the IP address at some point the hostname is returnded. It contains an underscore thus producing the above mentioned error message.
Right after this codeline
EndpointDescription[] endpoints = UaTcpStackClient.getEndpoints(endpointUrl).get();
the endpoint contains the hostname instead of the IP address.
Is there some way to use IP address instead of hostname?
Hi,
I have trouble connection to my OPC-UA server using the endpointUrl opc.tcp://1.2.3.4:1111. Even though my endpointUrl contains the IP address at some point the hostname is returnded. It contains an underscore thus producing the above mentioned error message. Right after this codeline
EndpointDescription[] endpoints = UaTcpStackClient.getEndpoints(endpointUrl).get();
the endpoint contains the hostname instead of the IP address. Is there some way to use IP address instead of hostname?Kind regards, Stefi