# How to resolve error :  A timeout occurred while attempting to connect .....at time of connecting to server connection inoitialization

**URL:** <https://community.wowza.com/t/how-to-resolve-error-a-timeout-occurred-while-attempting-to-connect-at-time-of-connecting-to-server-connection-inoitialization/53426>\
**Category:** Wowza Streaming Engine\
**Created:** [May 30, 2019, 3:45pm UTC](https://community.wowza.com/t/how-to-resolve-error-a-timeout-occurred-while-attempting-to-connect-at-time-of-connecting-to-server-connection-inoitialization/53426 "2019-05-30T15:45:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarun\_Kaushik](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@Tarun\_Kaushik](https://community.wowza.com/u/Tarun_Kaushik)\
**Post date:** [May 30, 2019, 3:45pm UTC](https://community.wowza.com/t/how-to-resolve-error-a-timeout-occurred-while-attempting-to-connect-at-time-of-connecting-to-server-connection-inoitialization/53426/1 "2019-05-30T15:45:43Z")

</div>

I am getting error when initializing server connection i.e. **_A timeout occurred while attempting to connect_**. . .

with below configuration

```auto
goCoderBroadcastConfig.setHostAddress("192.168.0.174");
goCoderBroadcastConfig.setPortNumber(1935);
goCoderBroadcastConfig.setApplicationName("live");

```

```auto
goCoderBroadcastConfig.setStreamName("myStream");
goCoderBroadcastConfig.setUsername("user");
goCoderBroadcastConfig.setPassword("password");

```

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [May 30, 2019, 5:02pm UTC](https://community.wowza.com/t/how-to-resolve-error-a-timeout-occurred-while-attempting-to-connect-at-time-of-connecting-to-server-connection-inoitialization/53426/2 "2019-05-30T17:02:58Z")

</div>

Hi @Tarun Kaushik. can you share with me a screenshot of your connection settings in Engine? The settings you have shared with me are the defaults and I need to see if they match what was provided in Engine.

---

<div class="post-metadata">

**Author:** ![vishvajeetsinh\_chauh](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@vishvajeetsinh\_chauh](https://community.wowza.com/u/vishvajeetsinh_chauh)\
**Post date:** [May 5, 2020, 10:20am UTC](https://community.wowza.com/t/how-to-resolve-error-a-timeout-occurred-while-attempting-to-connect-at-time-of-connecting-to-server-connection-inoitialization/53426/3 "2020-05-05T10:20:10Z")

</div>

In Windows 10, if you open Windows Firewall and Advanced Security, you will need to create a new Inbound Rule to allow for connections on port 1935. If you click on “[New Rule](http://gfycat.com/CandidWideeyedKoala)” and select “Port” instead of “Program”, you should be able to build a TCP rule for port 1935, allowing these inbound connections.
