# Problems connecting to new OPC server

**URL:** <https://forum.inductiveautomation.com/t/problems-connecting-to-new-opc-server/4106>\
**Category:** Ignition\
**Created:** [March 6, 2012, 3:31pm UTC](https://forum.inductiveautomation.com/t/problems-connecting-to-new-opc-server/4106 "2012-03-06T15:31:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfenter](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@dfenter](https://forum.inductiveautomation.com/u/dfenter)\
**Post date:** [March 6, 2012, 3:31pm UTC](https://forum.inductiveautomation.com/t/problems-connecting-to-new-opc-server/4106/1 "2012-03-06T15:31:17Z")

</div>

I am having problem connecting to a new OPC server that we have set up. It is a Kepware server.

I have gone through the configuration, and verified that the IP address, security policy, and message security mode are correct. I have installed the trusted client certificate on the server.

I keep getting the error java.net.connectexception: Connection Refused: connect.

Any ideas?

Dan Fenter

---

<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 6, 2012, 4:17pm UTC](https://forum.inductiveautomation.com/t/problems-connecting-to-new-opc-server/4106/2 "2012-03-06T16:17:29Z")

</div>

This error is happening at the TCP level. It’s like that you have either the wrong port, the wrong IP address, or a firewall is blocking your connect attempt.
