You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let server = new OPCUAServer({
port: 64101,
hostname: hostname + '/nozomi',
registerServerMethod: RegisterServerMethod.LDS,
discoveryServerEndpointUrl: discoveryServerEndpointUrl})
await server.initialize();
we have a server on: on opc.tcp://Nicolos-MacBook-Pro-2.local/nozomi:64101
the discovery server when the server start throws:
Error: Required port not given
at new Service (/Users/nicolo/Documents/opcua_spike/node_modules/bonjour/lib/service.js:18:25)
at Registry.publish (/Users/nicolo/Documents/opcua_spike/node_modules/bonjour/lib/registry.js:18:17)
at Bonjour.publish (/Users/nicolo/Documents/opcua_spike/node_modules/bonjour/index.js:16:25)
removing the 'hostname' option everything works fine.
We expect to have opc.tcp://Nicolos-MacBook-Pro-2.local:64101/nozomi instead of on opc.tcp://Nicolos-MacBook-Pro-2.local/nozomi:64101
Is this a bug or am I doing something wrong?
with a configuration like:
let server = new OPCUAServer({
hostname: hostname + ':64101/nozomi',
registerServerMethod: RegisterServerMethod.LDS,
discoveryServerEndpointUrl: discoveryServerEndpointUrl})
await server.initialize();
the subscription to the discovery server works, but the endpoint is: on opc.tcp://Nicolos-MacBook-Pro-2.local:64101/nozomi:26543
Many thanks
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello,
with a Server like:
we have a server on:
on opc.tcp://Nicolos-MacBook-Pro-2.local/nozomi:64101
the discovery server when the server start throws:
removing the 'hostname' option everything works fine.
We expect to have
opc.tcp://Nicolos-MacBook-Pro-2.local:64101/nozomi
instead ofon opc.tcp://Nicolos-MacBook-Pro-2.local/nozomi:64101
Is this a bug or am I doing something wrong?
with a configuration like:
the subscription to the discovery server works, but the endpoint is:
on opc.tcp://Nicolos-MacBook-Pro-2.local:64101/nozomi:26543
Many thanks
The text was updated successfully, but these errors were encountered: