# How to limit number of connections per ip groups?

**URL:** https://community.wowza.com/t/how-to-limit-number-of-connections-per-ip-groups/45520
**Category:** Wowza Streaming Engine
**Created:** [February 22, 2016, 7:35pm UTC](https://community.wowza.com/t/how-to-limit-number-of-connections-per-ip-groups/45520 "2016-02-22T19:35:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![video\_test](https://avatars.discourse-cdn.com/v4/letter/v/f17d59/32.png) [@video\_test](https://community.wowza.com/u/video_test)
#### Post date: [February 22, 2016, 7:35pm UTC](https://community.wowza.com/t/how-to-limit-number-of-connections-per-ip-groups/45520/1 "2016-02-22T19:35:31Z")

</div>

Hello,

I want to know if there is a way to limit the number of connections for the vod application per ip groups.

For example, if I have viewers with this ip segment

10.1.1.x the max connections they are allowed is 2, the third viewer will get a message that the max of possible connections has been reached.

Thanks in advance,

Idan.

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [February 23, 2016, 7:45am UTC](https://community.wowza.com/t/how-to-limit-number-of-connections-per-ip-groups/45520/2 "2016-02-23T07:45:11Z")

</div>

If you are comfortable programming in Java, you should be able to modify this example:

[How to limit playback by IP address (ModuleOverridePlayRestrictIP)](https://www.wowza.com/docs/how-to-limit-playback-by-ip-address-moduleoverrideplayrestrictip%28ModuleOverridePlayRestrictIP%29)

If you find yourself needing help you can post a request to the [find a consultant forum](http://community.wowza.com/c/-/7)

Best,

Salvadore
