I need to get response on this URL:

https://[host IP]:8088/api/admin

I tried so many different configs so you might see extra stuff commented out.

I can easily access the web page, the only issue is, I cannot call admin api from application. No response in this regard.

Here are logs and config https://pastebin.com/42pSg9yN

This is an AWS instance with Ubunutu 16.04

I have tried following this stackoverflow Answer too and also followed the official DOC too.

How to call ejabberd Administrator API

https://docs.ejabberd.im/developer/ejabberd-api/simple-configuration/

If there is anything you need to get a better understanding, Let me know.