# OPC UA server is faulted and tcp:127.0.0.1:62541 is gone after I restart ignition service

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [December 23, 2019, 6:29am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893 "2019-12-23T06:29:51Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [December 23, 2019, 6:29am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/1 "2019-12-23T06:29:51Z")

</div>

tcp:127.0.0.1:62541 is gone after I restart ignition service, and I have to restart computer if I wanna get it back, do you have any opinions?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e727b5fd53b44cf83f9cf80a904c349df25b9770.png)

Below is my error once I lost 62541

```auto
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:502)
	at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:495)
	at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:474)
	at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:415)
	at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:540)
	at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:533)
	at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:114)
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:327)
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:343)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:665)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
	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
	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:327)
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
	... 6 more
Caused by: java.net.ConnectException: Connection refused: no further information
	... 10 more

8.0.6 (b2019111216)
Azul Systems, Inc. 11.0.4

```

---

<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:** [December 23, 2019, 2:25pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/2 "2019-12-23T14:25:16Z")

</div>

Are there any errors from the OPC UA server in the logs after you restart it? Something about failing to bind? Can you upload your logs somewhere?

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [December 24, 2019, 12:52am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/3 "2019-12-24T00:52:57Z")

</div>

Yeah, as you said, just a few messages about binding failed cuz port 62541 is gone, @Kevin.Herron my question is why port 62541 is gone? is it possible that we get it started manually?

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [December 25, 2019, 2:42am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/4 "2019-12-25T02:42:18Z")

</div>

> [@OPC UA server is faulted and tcp:127.0.0.1:62541 is gone after I restart ignition service](http://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/2):
>
> Are there any errors from the OPC UA server in the logs after you restart it? Something about failing to bind? Can you upload your logs somewhere?

Oops, sorry for missing your question, below error message in the logs, I also tried demo v8 [Extra Ignition Materials | Inductive Automation](https://inductiveautomation.com/downloads/extra-material) and got the same issue

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cfa5ea5ec080e8427dc4cd20651d318cc1a6be37.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e637a335db468062707cc88af2e430565c7d6a35.png)

Merry Christmas!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 26, 2019, 2:58am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/5 "2019-12-26T02:58:01Z")

</div>

Binding failed often means another process is holding the port. Do you have another copy of Ignition running? Possibly holding the wildcard 0.0.0.0:62541 ? Or some other OPC/UA stack?

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [December 30, 2019, 12:50am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/6 "2019-12-30T00:50:54Z")

</div>

@pturmel

> [@OPC UA server is faulted and tcp:127.0.0.1:62541 is gone after I restart ignition service](http://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/5):
>
> Binding failed often means another process is holding the port. Do you have another copy of Ignition running? Possibly holding the wildcard 0.0.0.0:62541 ? Or some other OPC/UA stack?

Actually not, only one thing i did is restarted restored my ignition gateway or restarted my ignition service. On the other hand, we can see who is holding the wildcard 0.0.0.0:62541 if someone is.

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [January 2, 2020, 8:44am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/7 "2020-01-02T08:44:11Z")

</div>

All right, It works after I downgrade my java version, version 11 doesn’t work on me.  
Please mark it addressed.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/60740134552361d41f562bff1d4ec27bbdfb1a25.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 2, 2020, 12:35pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/8 "2020-01-02T12:35:00Z")

</div>

That doesn’t make sense, unless you tagged this topic incorrectly (ignition80). Ignition v8 runs with modern java (and provides its own copy), it is Ignition v7.9 and before that need java8.

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [January 3, 2020, 9:04am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/9 "2020-01-03T09:04:42Z")

</div>

> [@OPC UA server is faulted and tcp:127.0.0.1:62541 is gone after I restart ignition service](http://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/8):
>
> That doesn’t make sense, unless you tagged this topic incorrectly (ignition80). Ignition v8 runs with modern java (and provides its own copy), it is Ignition v7.9 and before that need java8.

I am not sure why, I am running on Version: **8.0.6 (b2019111216)** for sure.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 3, 2020, 12:53pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/10 "2020-01-03T12:53:11Z")

</div>

I think you need support to look over your shoulder. /:

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [July 26, 2021, 7:35am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/11 "2021-07-26T07:35:13Z")

</div>

Hmm, your idea is right ,  
here is how i reproduce my issue:  
Set ignition service start manually  
Start my PC  
Start ignition service manually by clicking starting service.

It seems we can not start OPC UA server, how do i diagnose this issue?

---

<div class="post-metadata">

**Author:** ![Anton\_Horai](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Anton\_Horai](https://forum.inductiveautomation.com/u/Anton_Horai)\
**Post date:** [January 27, 2022, 12:23pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/12 "2022-01-27T12:23:27Z")

</div>

Faced this issue after restoring my gateway from file. gateway restarted and was unable to connect OPC UA server. “netstat -aon” showed that there is no port:62541 active. But Logs said that there was binding fault, during startup.Updating of Java did not cause any changes.  
The only solution was: deleting OPC UA services, that were installed with Simatic products and reinstalling of Ignition after that. Now OPC UA works properly on the gateway.

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [February 8, 2022, 6:48am UTC](https://forum.inductiveautomation.com/t/opc-ua-server-is-faulted-and-tcp-127-0-0-1-62541-is-gone-after-i-restart-ignition-service/30893/13 "2022-02-08T06:48:24Z")

</div>

Wired issue, I do not wanna restart or reinstall anything
