# Can't access REST API or documentation

**URL:** <https://community.wowza.com/t/cant-access-rest-api-or-documentation/49808>\
**Category:** Wowza Streaming Engine\
**Created:** [October 2, 2017, 4:42am UTC](https://community.wowza.com/t/cant-access-rest-api-or-documentation/49808 "2017-10-02T04:42:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cody\_Uptain2](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Cody\_Uptain2](https://community.wowza.com/u/Cody_Uptain2)\
**Post date:** [October 2, 2017, 4:42am UTC](https://community.wowza.com/t/cant-access-rest-api-or-documentation/49808/1 "2017-10-02T04:42:45Z")

</div>

I followed this [tutorial](https://www.wowza.com/docs/how-to-access-documentation-for-wowza-streaming-engine-rest-api).

I am receiving this message from “swagger”. Additionally, there is no response when making calls to the REST API.

**Can’t read from server. It may not have the appropriate access-control-origin settings.**

**Server.xml**

```auto
<RESTInterface>

			<Enable>true</Enable>

			<IPAddress>*</IPAddress>

			<Port>8087</Port>

			<!-- none, basic, digest, remotehttp, digestfile -->

			<AuthenticationMethod>none</AuthenticationMethod>

			<DiagnosticURLEnable>true</DiagnosticURLEnable>

			<SSLConfig>

				<Enable>false</Enable>

				<KeyStorePath></KeyStorePath>

				<KeyStorePassword></KeyStorePassword>

				<KeyStoreType>JKS</KeyStoreType>

				<SSLProtocol>TLS</SSLProtocol>

				<Algorithm>SunX509</Algorithm>

				<CipherSuites></CipherSuites>

				<Protocols></Protocols>

			</SSLConfig>

			<IPWhiteList>*</IPWhiteList>

			<IPBlackList></IPBlackList>

			<EnableXMLFile>false</EnableXMLFile>

			<DocumentationServerEnable>true</DocumentationServerEnable>

			<DocumentationServerPort>8089</DocumentationServerPort>

			<!-- none, basic, digest, remotehttp, digestfile -->

			<DocumentationServerAuthenticationMethod>none</DocumentationServerAuthenticationMethod>

			<Properties>

			</Properties>

		</RESTInterface>

```

---

<div class="post-metadata">

**Author:** ![Cody\_Uptain2](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Cody\_Uptain2](https://community.wowza.com/u/Cody_Uptain2)\
**Post date:** [October 2, 2017, 2:29pm UTC](https://community.wowza.com/t/cant-access-rest-api-or-documentation/49808/2 "2017-10-02T14:29:43Z")

</div>

**I solved the problem** My EC2 instance has an automatically generated security group for Wowza, but it doesn’t include access to port 8089 or port 8087 which is what the default Wowza REST API/API docs listen on.

I added the rules to the inbound rules myself for both ports.
