# How to ​Connection rejected, exiting issue ?

**URL:** <https://community.wowza.com/t/how-to-connection-rejected-exiting-issue/52963>\
**Category:** Wowza Developer Dojo\
**Created:** [March 11, 2019, 3:34pm UTC](https://community.wowza.com/t/how-to-connection-rejected-exiting-issue/52963 "2019-03-11T15:34:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirav\_patel](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nirav\_patel](https://community.wowza.com/u/nirav_patel)\
**Post date:** [March 11, 2019, 3:34pm UTC](https://community.wowza.com/t/how-to-connection-rejected-exiting-issue/52963/1 "2019-03-11T15:34:52Z")

</div>

Hello,

I’m used wowza cloud paid service for audio broadcasting and streaming.

I have one issue, first, I was started streaming using wowza cloud API after API success response than  
I will check stream status wowza API and wowza status API response in streaming status is started but return this 2 error “**Connection rejected, exiting" and "\*\*\*\*Status is idle , error is “An error occurred when trying to connect to host: [23356b.entrypoint.cloud.wowza.com](http://23356b.entrypoint.cloud.wowza.com)” (code = 15)**”

1 ) Streaming start API response.

**[https://api.cloud.wowza.com/api/v1.3/live\_streams/vbnmk2sy/start](https://api.cloud.wowza.com/api/v1.3/live_streams/vbnmk2sy/start) Response : [“live\_stream”: {**

**state = starting;**

**}]**

1. streaming status API response :  
**[https://api.cloud.wowza.com/api/v1.3/live\_streams/vbnmk2sy/state](https://api.cloud.wowza.com/api/v1.3/live_streams/vbnmk2sy/state) Response : [“live\_stream”: {**

**"ip\_address" = “35.200.229.211”;**

**state = started;**

**}]**

Display error :  
**Connection rejected, exiting**

**SDK Wowza State Error :-\> Status is idle , error is “An error occurred when trying to connect to host: [23356b.entrypoint.cloud.wowza.com](http://23356b.entrypoint.cloud.wowza.com)” (code = 15)**

**How to Solve this 2 issue?**

---

<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:** [April 1, 2019, 6:20pm UTC](https://community.wowza.com/t/how-to-connection-rejected-exiting-issue/52963/2 "2019-04-01T18:20:57Z")

</div>

The error ‘Connection Time Out’ indicates that the encoder can not connect to Wowza Streaming Cloud.

I would try several things

- Wowza Streaming Cloud is started and accessible - Use Wowza Streaming Cloud Manager to see if you can login and see everything is working as expected

- Instead of a hostname use an IP address - DNS may not be working

- Have you enabled/installed a new firewall ? Perhaps allowing port 1935 is required.
