# rest api ip has been blocked

**URL:** <https://community.wowza.com/t/rest-api-ip-has-been-blocked/48464>\
**Category:** Wowza Developer Dojo\
**Created:** [April 6, 2017, 7:16am UTC](https://community.wowza.com/t/rest-api-ip-has-been-blocked/48464 "2017-04-06T07:16:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohamed\_Gamal](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@Mohamed\_Gamal](https://community.wowza.com/u/Mohamed_Gamal)\
**Post date:** [April 6, 2017, 7:16am UTC](https://community.wowza.com/t/rest-api-ip-has-been-blocked/48464/1 "2017-04-06T07:16:54Z")

</div>

JSON REQUEST to ip:8087/v2/servers/_defaultServer_/publishers with verb GET: {“restURI”:“ip:8087/v2/servers/_defaultServer_/publishers”} RETURN: {“code”:“403”,“message”:“Your IP address (myip) has been blocked”,“success”:false,“wowzaServer”:“4.6.0”} object(stdClass)#4 (4) { [“code”]=\> string(3) “403” [“message”]=\> string(50) “Your IP address (myip) has been blocked” [“success”]=\> bool(false) [“wowzaServer”]=\> string(5) “4.6.0” }

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [April 6, 2017, 4:55pm UTC](https://community.wowza.com/t/rest-api-ip-has-been-blocked/48464/2 "2017-04-06T16:55:28Z")

</div>

Hello @Mohamed Gamal

I would recommend looking in the Server.xml RESTInterface block to see if the IP address you are trying to connect is on the IPBlackList.

[install-dir]/conf/Server.xml

If it is not there, I would recommend adding it to the IPWhiteList.

Please save and restart your Wowza Server for changes to take effect.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Jatinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jatinder\_Singh](https://community.wowza.com/u/Jatinder_Singh)\
**Post date:** [January 12, 2018, 10:39am UTC](https://community.wowza.com/t/rest-api-ip-has-been-blocked/48464/3 "2018-01-12T10:39:43Z")

</div>

Hello @Jason Tuchler

I am using php sdk [https://github.com/WowzaMediaSystems/wse-rest-library-php](https://github.com/WowzaMediaSystems/wse-rest-library-php) for rest api functions. and receiving the same error:

```auto
stdClass Object
(
    [message] => Your IP address (202.164.44.247) has been blocked
    [wowzaServer] => 4.7.3
    [success] => 
    [code] => 403
)

```

Where Can I find Server.xml file on server?

FYI, I am using [100tb.com](http://100tb.com) server and centos ox is installed there

Regards,

Jatinder

---

<div class="post-metadata">

**Author:** ![Jatinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jatinder\_Singh](https://community.wowza.com/u/Jatinder_Singh)\
**Post date:** [January 18, 2018, 5:45am UTC](https://community.wowza.com/t/rest-api-ip-has-been-blocked/48464/4 "2018-01-18T05:45:29Z")

</div>

I got the solution

[http://trickntip.com/ip-address-blocked-wowza/](http://trickntip.com/ip-address-blocked-wowza/)

---

<div class="post-metadata">

**Author:** ![Kenneth\_Gulliksen](https://avatars.discourse-cdn.com/v4/letter/k/96bed5/32.png) [@Kenneth\_Gulliksen](https://community.wowza.com/u/Kenneth_Gulliksen)\
**Post date:** [November 5, 2018, 11:52am UTC](https://community.wowza.com/t/rest-api-ip-has-been-blocked/48464/5 "2018-11-05T11:52:30Z")

</div>

Hi Jatinder, above link is now down, can you add the solution here.

---

<div class="post-metadata">

**Author:** ![Sunny\_Jhunjhunwala](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@Sunny\_Jhunjhunwala](https://community.wowza.com/u/Sunny_Jhunjhunwala)\
**Post date:** [April 14, 2023, 6:39pm UTC](https://community.wowza.com/t/rest-api-ip-has-been-blocked/48464/6 "2023-04-14T18:39:08Z")

</div>

`<IPWhiteList>*</IPWhiteList> under <RESTInterface>`  
then Restart Wowza.

Add your specific IP is recommended, \* will allow anything and always avoid wildcard.
