Two IP connect to One OPC-UA Server|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Two IP connect to One OPC-UA Server
Avatar
pawel.k
New Member
Members
Forum Posts: 1
Member Since:
03/01/2019
sp_UserOfflineSmall Offline
1
03/01/2019 - 07:19
sp_Permalink sp_Print

Hi all,

I'm new here cause for the first time i'm using OPC UA to connect with machines.

 

It all seems pritty simple but i've one problem:
I have two machines:
Machine1: IP-address-1 - hostname1
Machine2: IP-address-2 - hostname2

 

The problem is that UAExpert and PLC connecting me always to Machine1 OPC-UA server, no matter wchich connection parameters i enter:

opc.tcp://IP-address-1:Port -> connected to Machine1 OPC UA Server

opc.tcp://hostname1:Port -> connected to Machine1 OPC UA Server

opc.tcp://IP-address-2:Port -> connected to Machine1 OPC UA Server

opc.tcp://hostname2:Port -> connected to Machine1 OPC UA Server

 

I'd ping two IP's and in network they have correct/different hostnames.

 

Can you write me what could be a reason this happen? Maybe some network settings?

 

I've matched hostnames to ip addresses in C:\WINDOWS\System32\drivers\etc\hosts file but it didn't change anything.

 

Thanks in advance.

Best regards

Pawel

Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/04/2019 - 02:28
sp_Permalink sp_Print

UA Expert should give you the option of ignoring the URL returned from GetEndpoints and using the one you provide.

Enter the URL with the IP address manually in the discover window and watch for the dialog.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: chairrul la umang
Guest(s) 27
Currently Browsing this Page:
2 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1347
Posts: 4567