Page 1 of 1

See client's IP address in OPC UA Server

Posted: 20 Aug 2019, 14:17
by jonathang
Dear Support Team,

We are using .NET OPC UA SDK 3.0.2 on an OPC UA Server. Is there a way to see the client's IP address when they are connected or trying to connect?


Sincerely,

Jonathan

Re: See client's IP address in OPC UA Server

Posted: 06 Jul 2021, 15:56
by Unknown User
Hi,

this is already an older post, but I would also be very much interested in an answer, since it might be a determining factor for whether we acquire UA's .NET SDK or not.
I am evaluation .NET OPC UA SDK 3.0.9 at the moment and wasn't able to find any functionality or object that exposes the client's IP-Address.

A timely response would be very much appreciated.

Best regards,
Stefan

Re: See client's IP address in OPC UA Server

Posted: 06 Jul 2021, 16:20
by jonathang
Looks like it has been answered here:

https://forum.unified-automation.com/viewtopic.php?f=38&t=7696

The reason we want to get the IP address is to diagnose technical issues with some of our clients and automate the server behavior. The certificate does not give us enough information to determine the specific client.


Sincerely,

Jonathan

Re: See client's IP address in OPC UA Server

Posted: 07 Jul 2021, 13:45
by Unknown User
Hi Jonathan,

thanks so much for the quick response, I was actually not expecting an answer from you, but rather from the support team.

So, from that thread you linked, it looks like the answer is no. The SDK seems to check the hostname/ip-address internally, but it doesn't look like it is exposed anywhere.

Too bad ...

Best regards,
Stefan

Re: See client's IP address in OPC UA Server

Posted: 07 Jul 2021, 14:51
by DANILOMARIO
Hi I have resolved thanks

Re: See client's IP address in OPC UA Server

Posted: 07 Jul 2021, 16:14
by Unknown User
DANILOMARIO wrote:
07 Jul 2021, 14:51
Hi I have resolved thanks
Hi,

I think that response was meant for the following thread

https://forum.unified-automation.com/viewtopic.php?t=7812

BR,
Stefan