# OPC UA Connection Setup Issues

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-connection-setup-issues/71809>\
**Category:** Ignition\
**Created:** [March 30, 2023, 4:16am UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-setup-issues/71809 "2023-03-30T04:16:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashhowell](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@ashhowell](https://forum.inductiveautomation.com/u/ashhowell)\
**Post date:** [March 30, 2023, 4:16am UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-setup-issues/71809/1 "2023-03-30T04:16:02Z")

</div>

Hi, newbie here and struggling to get my connection setup for the first time.

The issue is identical to that highlighted in [[OPC-UA Server connection refused](https://forum.inductiveautomation.com/t/opc-ua-server-connection-refused/39081)]([https://this](https://this) topic), only the solution highlighted there isn't working for me, or I am misunderstanding it.

Upon changing my endpoint from local point to the IP address I am presented with

UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.0.241:62541

 ![Ignition Bind Settings](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/6/761e83fc8e566d918b979eb6f7d0473b91867667.png)

Log from attempted update pasted below..

java.util.concurrent.ExecutionException: UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.0.241:62541

at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)

at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)

at com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.wizardsteps.DiscoveryServerLookupStep.findServers(DiscoveryServerLookupStep.java:106)

at com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.wizardsteps.DiscoveryServerLookupStep.next(DiscoveryServerLookupStep.java:89)

at org.apache.wicket.extensions.wizard.dynamic.DynamicWizardModel.next(DynamicWizardModel.java:126)

at com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.EndpointWizardButtonBar$NextButton.onClick(EndpointWizardButtonBar.java:26)

at org.apache.wicket.extensions.wizard.WizardButton.onSubmit(WizardButton.java:88)

at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1304)

at org.apache.wicket.markup.html.form.Form.process(Form.java:967)

at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:789)

at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:701)

at jdk.internal.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.base/java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)

at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:216)

at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:243)

at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)

at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)

at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)

at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)

at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)

at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)

at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)

at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)

at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)

at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:210)

at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1383)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1305)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)

at com.inductiveautomation.catapult.handlers.RemoteHostNameLookupHandler.handle(RemoteHostNameLookupHandler.java:121)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)

at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:301)

at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:51)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:141)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)

at org.eclipse.jetty.server.Server.handle(Server.java:563)

at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505)

at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)

at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)

at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:416)

at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385)

at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272)

at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140)

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:934)

at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1078)

at java.base/java.lang.Thread.run(Unknown Source)

Caused by: org.eclipse.milo.opcua.stack.core.UaException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.0.241:62541

at org.eclipse.milo.opcua.stack.client.transport.uasc.ClientChannelFsm$ClientChannelActions.lambda$connect$0(ClientChannelFsm.java:129)

at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)

at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)

at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)

at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)

at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)

at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)

at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)

at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)

at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)

at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:710)

at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)

at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)

... 1 common frames omitted

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.0.241:62541

java.net.ConnectException: Connection refused: no further information

at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)

at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)

at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)

at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:710)

at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)

at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)

at java.base/java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 30, 2023, 12:28pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-setup-issues/71809/2 "2023-03-30T12:28:44Z")

</div>

Are you trying to connect Ignition to another server or connect another client to Ignition?

Changes to the settings in your screenshot require a restart to take effect.

---

<div class="post-metadata">

**Author:** ![ashhowell](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@ashhowell](https://forum.inductiveautomation.com/u/ashhowell)\
**Post date:** [March 30, 2023, 2:41pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-setup-issues/71809/3 "2023-03-30T14:41:37Z")

</div>

I'm following this video tutorial on setting up connection to a S7-1200.

[![](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/c/3cfae6373944835942284969ac7026f268c47506.jpeg "Lesson 2- Creating OPC UA Server and adding Siemens PLC in Ignition SCADA") ](https://www.youtube.com/watch?v=PMR-blym418)

I have tried restarting my machine with no success as yet

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 30, 2023, 2:43pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-setup-issues/71809/4 "2023-03-30T14:43:58Z")

</div>

I don't know who created this video and have not watched it yet, but setting up a connection to another OPC UA server does not involve the settings you are messing around with.

---

<div class="post-metadata">

**Author:** ![ashhowell](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@ashhowell](https://forum.inductiveautomation.com/u/ashhowell)\
**Post date:** [March 30, 2023, 7:23pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-setup-issues/71809/5 "2023-03-30T19:23:46Z")

</div>

I'm struggling with the very first step before even getting to the point of setting up the link with the PLC, which I believe though could well be mistaken is the server to client configuration. I got to the those settings as that was a solution you proposed in the other linked post to a user who had what appeared to be the same issue I was having when trying to change the endpoint url to my PC's IP address from localhost.

I will read through the official documentation tonight as there is some fundamental concept or terminology I haven't grasped yet around how this works.
