# OPC UA - Codesys 3.5.15 - Tutorial Project - Factory IO 2.5.0

**URL:** <https://community.factoryio.com/t/opc-ua-codesys-3-5-15-tutorial-project-factory-io-2-5-0/1070>\
**Category:** Drivers\
**Created:** [September 29, 2021, 6:53am UTC](https://community.factoryio.com/t/opc-ua-codesys-3-5-15-tutorial-project-factory-io-2-5-0/1070 "2021-09-29T06:53:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralph.seela](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@ralph.seela](https://community.factoryio.com/u/ralph.seela)\
**Post date:** [September 29, 2021, 6:53am UTC](https://community.factoryio.com/t/opc-ua-codesys-3-5-15-tutorial-project-factory-io-2-5-0/1070/1 "2021-09-29T06:53:17Z")

</div>

hello,

I have a problem when testing the OPC UA tutorial.  
the following error message is \>\>The secure channel is closed:remote side closed connection \>\>.  
which settings in Codesys do I have to make.

---

<div class="post-metadata">

**Author:** ![beatriz.santos](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@beatriz.santos](https://community.factoryio.com/u/beatriz.santos)\
**Post date:** [September 29, 2021, 5:43pm UTC](https://community.factoryio.com/t/opc-ua-codesys-3-5-15-tutorial-project-factory-io-2-5-0/1070/2 "2021-09-29T17:43:51Z")

</div>

Hi, @ralph.seela! Welcome to the forum.

The error you’re getting indicates that an OPC server can’t be found at the URL you’re using. In order to fix it, please try the following:

1. If CODESYS Control Win is running, close it;
2. Start CODESYS Control Win V3 on a terminal;

 ![CODESYS_Control_Win_V3](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/7dc70b7d67d878cd7fd54f5935d13930b34e1cfd.png)

1. Find the server URL displayed in the terminal window;

![URL_CODESYS](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/f2a48e544b0f9b8af9ea29b4d204440bfdf0a289.png)

1. In Factory I/O, go to FILE \> DRIVERS \> CONFIGURATION, enter the URL in the OPC Server input field, and press Enter to connect;

![OPC_Server](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/da040d8ece77f2714ab64c92f6cdbf084e21033f.png)

1. Save the scene to keep the changes.

Please, let me know if this solved your issue.

---

<div class="post-metadata">

**Author:** ![ralph.seela](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@ralph.seela](https://community.factoryio.com/u/ralph.seela)\
**Post date:** [September 30, 2021, 10:01am UTC](https://community.factoryio.com/t/opc-ua-codesys-3-5-15-tutorial-project-factory-io-2-5-0/1070/3 "2021-09-30T10:01:27Z")

</div>

Hello Beatriz,  
Your tip helped, the driver is running.  
But unfortunately I can’t assign any data.

 ![grafik](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/4e548ce446bcb37ad8aaf5c90570b44107e5a1e7.jpeg)  
for information : here I use Codesys 3.5.17

Error found…  
and fixed.
