Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Prosys OPC UA Simulation Server and Prosys OPC UA Client
May 30, 2020
15:34, EEST
Avatar
NilsonChalie
Member
Members
Forum Posts: 4
Member Since:
May 30, 2020
sp_UserOfflineSmall Offline

Hi,
I’m trying to create OPC UA Connection between these two app.
To be more specific, I have 2 devices. The 1st device runs Prosys OPC UA Simulation Server, the connection address is:
opc.tcp://Dell-G7-7588:62547/OPCUA/SimulationServer
Still in the 1st device, I go to to command prompt -> ipconfig, and check that the IPV4 address is 192.168.1.245
The 2nd device runs Prosys OPC UA Client, and I write the address: opc.tpc://192.168.1.245:62547
But the Server and Client only connect when the 2nd device join the same network as 1st device. While they are connecting to different network, the is an error:
“Could not connect to the server:
Error=Cannot discover applications from ocp.tcp://192.168.1.245:62547″

Can you tell me if I do something wrong? And please give me some way to fix it if possible.
Also, actually the problem happens with other OPC UA server-client application, not just with Prosys.
Thank you

June 1, 2020
10:34, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 836
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

The opc.tcp protocol works like any other tcp (https://en.wikipedia.org/wiki/Transmission_Control_Protocol) protocol network-wise, there isn’t anything special about that.

Generally it should be noted that these kinds of questions fall somewhat under basic networking know-how that you should just already know (or be willing to learn by yourself) and thus outside scope of this forum. We do offer professional services (e.g. consulting): https://www.prosysopc.com/services/.

But that being said, you can study and try these, as a rule of thumb the machine connecting must see the other machine it is to connect.

– Your IP range is https://en.wikipedia.org/wiki/Private_network, thus connections from https://en.wikipedia.org/wiki/Wide_area_network does not work obiviously unless your (most likely router’s) https://en.wikipedia.org/wiki/Network_address_translation forward it properly
– Also e.g. Windows 10 might https://en.wikipedia.org/wiki/Domain_Name_System the hostname to https://en.wikipedia.org/wiki/IPv6 (usually only a https://en.wikipedia.org/wiki/Localhost problem if a server does not bind to IPv6 localhost and you use the hostname to connect)
– See if you can https://en.wikipedia.org/wiki/Ping_(networking_utility) the other machine from the other, but it is not necessary nor it might give direct indication that connecting with UA would work

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 122

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

gjevremovic: 49

Sabari: 46

Xavier: 42

TimK: 41

fred: 41

Member Stats:

Guest Posters: 0

Members: 3344

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1300

Posts: 5561

Newest Members:

UPtato42, fblvicky6629601, elliebloomer44, Manuelagibe, justinafavenc54, sarlaman9, nancymcneal1, elztaim591797, JeffreyAidet, sameisenhower7

Moderators: Jouni Aro: 946, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 836, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 41, Niklas Nurminen: 0, Matti Siponen: 221, Lusetti: 0

Administrators: admin: 1