# OPC connection faulted

**URL:** <https://forum.inductiveautomation.com/t/opc-connection-faulted/43288>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [February 11, 2021, 9:07am UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted/43288 "2021-02-11T09:07:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hiteshratd](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@hiteshratd](https://forum.inductiveautomation.com/u/hiteshratd)\
**Post date:** [February 11, 2021, 9:07am UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted/43288/1 "2021-02-11T09:07:26Z")

</div>

I am facing OPC connection faulted error.

Pl help me how can I resolved

UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:62541  
at org.eclipse.milo.opcua.stack.client.transport.uasc.ClientChannelFsm$ClientChannelActions.lambda$connect$0(ClientChannelFsm.java:130)  
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:577)  
at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:570)  
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:549)  
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:490)  
at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:615)  
at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:608)  
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:702)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)  
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)  
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)  
at java.base/java.lang.Thread.run(Unknown Source)  
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:62541  
Caused by: 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:330)  
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)  
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)  
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)  
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)  
at java.base/java.lang.Thread.run(Unknown Source)

8.1.2 (b2021020311)  
Azul Systems, Inc. 11.0.9

---

<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:** [February 11, 2021, 2:09pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted/43288/2 "2021-02-11T14:09:30Z")

</div>

```auto
Connection refused: no further information: localhost/127.0.0.1:62541

```

Seems the OPC server is not running for some reason. Can you upload your wrapper.log files?

---

<div class="post-metadata">

**Author:** ![hiteshratd](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@hiteshratd](https://forum.inductiveautomation.com/u/hiteshratd)\
**Post date:** [February 11, 2021, 2:27pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted/43288/3 "2021-02-11T14:27:26Z")

</div>

[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/43i5Ta9PI0bVOFnntEH4ShLylcw.log) (1.1 MB)

Hi kevin,

Pl find attached wrapper logs.

now I have restarted my OPC UA module and Its working fine. But It is not permanent solution

Pl look into logs and let me know root cause of this problem

---

<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:** [February 11, 2021, 2:30pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted/43288/4 "2021-02-11T14:30:15Z")

</div>

When your gateway first started up the OPC server failed to bind to port 62541.

This means other software was running, maybe another Ignition, or maybe a previous shutdown had not fully released the ports yet.

If this keeps happening you should call support but it shouldn’t really be an issue unless there is other software using that port.
