Not able to access or add external host ??

Hi -

I am calling URL like below from my server side code:

https://control.msg91.com/api/sendhttp.php?authkey=YourAuthKey&mobiles=919999999990,919999999999&message=message&sender=senderid&route=4&country=0

However, I get below exception:
2016-06-10 12:50:58,292 | com.mytest.messaging.SmsHelper | ERROR | Failed to send SMS:java.lang.RuntimeException: java.security.AccessControlException: access denied (“java.net.SocketPermission” “control.msg91.com:443” “connect,resolve”)

Assuming that above is due to trying to access external - I tried adding this URL from ‘Add external Host’ section in my console - however that is not letting me add - saying ‘wrong hostname’. (screenshot attached).

Please help.

Hi!

Please try to add only host

control.msg91.com