# REST API Authorization failed when connecting to server: (http://localhost:8087)

**URL:** <https://community.wowza.com/t/rest-api-authorization-failed-when-connecting-to-server-http-localhost-8087/93834>\
**Category:** Wowza Streaming Engine\
**Created:** [September 18, 2021, 9:57am UTC](https://community.wowza.com/t/rest-api-authorization-failed-when-connecting-to-server-http-localhost-8087/93834 "2021-09-18T09:57:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ghassen\_Melliti](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@Ghassen\_Melliti](https://community.wowza.com/u/Ghassen_Melliti)\
**Post date:** [September 18, 2021, 9:57am UTC](https://community.wowza.com/t/rest-api-authorization-failed-when-connecting-to-server-http-localhost-8087/93834/1 "2021-09-18T09:57:18Z")

</div>

Hello I installed WSE using a Trial License on Ubuntu 16.04.7 LTS. When i open the engine manager i get this error and i can’t log in using the username and password i provided during the installation.I’ve reinstalled it a few times and checked the license file for extra spaces (there was none) and the problem persisted.  
Also i tried restarting the wowza service which has worked for me in the past but without fruition.  
here is a screenshot of the error

 ![image](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/1X/1ed7b98e797daa591cf3d60eaad6f545013d36ed.png)  
when i access [http://localhost:8087/](http://localhost:8087/)  
i get this:

> ```
> <error>
> <wowzaServer>4.8.14+9</wowzaServer>
> <message>REST API is not licensed</message>
> <code>402</code>
> </error>
> 
> ```

---

<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:** [September 27, 2021, 2:18pm UTC](https://community.wowza.com/t/rest-api-authorization-failed-when-connecting-to-server-http-localhost-8087/93834/2 "2021-09-27T14:18:07Z")

</div>

Hello, sorry you’re not able to login and authenticate. Thank you for sharing what you have tried to troubleshoot. Did you search this in the search bar above or in the FAQ page?

You can check that the proper ports (port 80) are open to send HTTP data over TCP on the internet:

Here is an installation troubleshooting guide for you:

> **[Troubleshoot Wowza Streaming Engine licensing errors a](https://www.wowza.com/docs/troubleshoot-wowza-streaming-engine-licensing-errors-at-startup)**
>
> Try these troubleshooting steps to resolve errors that occur when Wowza Streaming Engine can't connect to the license server.

  

Also this is an troubleshooting article for that error as well.

**If you still have trouble, send us a support ticket so we can save you some time in trying to debug it yourself.**

> **[I Can't Login to Streaming Engine Manager](https://support.wowza.com/hc/en-us/articles/1260803011850-I-Can-t-Login-to-Streaming-Engine-Manager)**
>
> If you’re having trouble logging into Wowza Streaming Engine Manager, follow these steps to troubleshoot and resolve the issue.
