See client's IP address in OPC UA Server

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
jonathang
Hero Member
Hero Member
Posts: 32
Joined: 02 Nov 2015, 19:07

See client's IP address in OPC UA Server

Post 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

Unknown User
Full Member
Full Member
Posts: 5
Joined: 05 Jul 2021, 16:44

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

Post 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

jonathang
Hero Member
Hero Member
Posts: 32
Joined: 02 Nov 2015, 19:07

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

Post 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

Unknown User
Full Member
Full Member
Posts: 5
Joined: 05 Jul 2021, 16:44

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

Post 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

DANILOMARIO
Jr. Member
Jr. Member
Posts: 3
Joined: 05 Jul 2021, 17:00

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

Post by DANILOMARIO »

Hi I have resolved thanks

Unknown User
Full Member
Full Member
Posts: 5
Joined: 05 Jul 2021, 16:44

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

Post 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

Post Reply