# io.netty.channel.AbstractChannel AnnotatedConnectException

**URL:** <https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [November 11, 2020, 2:57am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514 "2020-11-11T02:57:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyes94hamrani](https://avatars.discourse-cdn.com/v4/letter/l/5fc32e/32.png) [@lyes94hamrani](https://forum.inductiveautomation.com/u/lyes94hamrani)\
**Post date:** [November 11, 2020, 2:57am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514/1 "2020-11-11T02:57:14Z")

</div>

Hey guys

i’m trying to create an opc ua server but i 've this message /  
UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException,

after long and long test , turn off fire wall , instaling latest version of java and make it autorized by fire wall , nothing work after that ,

pls help

 ![Sans titre](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/2/625f32e1d59b05fee918eb466bbf864b7ea7396e.png)

---

<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:** [November 11, 2020, 3:07am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514/2 "2020-11-11T03:07:56Z")

</div>

What server are you trying to connect to? Is it running on another machine or the same machine? Are you sure it’s actually running and you have the right hostname and port?

The error you’re getting is just a standard TCP connection error: connection refused. If not a firewall issue this usually means there’s just not anything actually listening at that address/port.

---

<div class="post-metadata">

**Author:** ![lyes94hamrani](https://avatars.discourse-cdn.com/v4/letter/l/5fc32e/32.png) [@lyes94hamrani](https://forum.inductiveautomation.com/u/lyes94hamrani)\
**Post date:** [November 11, 2020, 3:18am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514/3 "2020-11-11T03:18:06Z")

</div>

it’s same machine (my laptop) and for the port is by default is 62541

 ![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/8/78870a2e496d07e53323323a5bc4f5bb1ba4ab65.jpeg) ![Captured](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/5/654b479c69325cbb0d32ccda2e0ad6a4775b919b.jpeg)

---

<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:** [November 11, 2020, 3:27am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514/4 "2020-11-11T03:27:11Z")

</div>

So you’re trying to create another connection to Ignition’s own OPC UA server then?

Try using “localhost” in the endpoint URL instead of “192.168.0.24”.

---

<div class="post-metadata">

**Author:** ![lyes94hamrani](https://avatars.discourse-cdn.com/v4/letter/l/5fc32e/32.png) [@lyes94hamrani](https://forum.inductiveautomation.com/u/lyes94hamrani)\
**Post date:** [November 11, 2020, 3:34am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514/5 "2020-11-11T03:34:48Z")

</div>

yes i’ve tried that before and it’s going to the next steps buuut in thi end i had satut FAULTED .

is same when i use 127.0.0.1 like localhost .

 ![localhost](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/0/d07e134cbbac6c44ebf49ed7980640b331f90bd0.jpeg)

---

<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:** [November 11, 2020, 3:37am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514/6 "2020-11-11T03:37:25Z")

</div>

If it’s the same error message even when using localhost then maybe the server is failing to bind on startup. You might want to get in touch with support so they can take a look at an export of your logs.

---

<div class="post-metadata">

**Author:** ![lyes94hamrani](https://avatars.discourse-cdn.com/v4/letter/l/5fc32e/32.png) [@lyes94hamrani](https://forum.inductiveautomation.com/u/lyes94hamrani)\
**Post date:** [November 11, 2020, 3:41am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514/7 "2020-11-11T03:41:20Z")

</div>

thank you !!!

---

<div class="post-metadata">

**Author:** ![Jaydeep\_Rupareliya](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@Jaydeep\_Rupareliya](https://forum.inductiveautomation.com/u/Jaydeep_Rupareliya)\
**Post date:** [June 15, 2023, 7:29am UTC](https://forum.inductiveautomation.com/t/io-netty-channel-abstractchannel-annotatedconnectexception/40514/8 "2023-06-15T07:29:15Z")

</div>

I Also facing same issue my first server i created works fine but in that i got error to write tag so i delete that and now i am getting this same issue
