# Shutdown/Kill running application?

**URL:** <https://community.wowza.com/t/shutdown-kill-running-application/35489>\
**Category:** Wowza Streaming Engine\
**Created:** [November 17, 2016, 3:26pm UTC](https://community.wowza.com/t/shutdown-kill-running-application/35489 "2016-11-17T15:26:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven\_Lee](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@Steven\_Lee](https://community.wowza.com/u/Steven_Lee)\
**Post date:** [November 17, 2016, 3:26pm UTC](https://community.wowza.com/t/shutdown-kill-running-application/35489/1 "2016-11-17T15:26:36Z")

</div>

Hello,

I am trying to find the “correct” way to shutdown/kill a running application (live stream). The client connects via Wirecast or Adobe FLME and the problem is that when we try to stop the stream (using the shutdownApplication() function, the client just tries to automatically re-connect the stream again.

The only way we’ve found that we can successfully KILL the stream is to in addition RENAME the application folder to something else.

The problem seems to be that this is causing an exception of some kind in Wowza itself because Wowza crashes pretty hard at that time. Where we have to start it back up manually.

Does anyone have any suggestions on how to properly kill a long-running live webcast stream then?

Thank you!

---

<div class="post-metadata">

**Author:** ![Alex\_C](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Alex\_C](https://community.wowza.com/u/Alex_C)\
**Post date:** [November 19, 2016, 12:05am UTC](https://community.wowza.com/t/shutdown-kill-running-application/35489/2 "2016-11-19T00:05:27Z")

</div>

I believe your solution would be located in Source Security application settings.

Here you can change the setting to not allow RTMP or RTSP publishing or restrict IP addresses.

Hope this Helps

Alex
