Hi guys,
I have a problem with runner.properties allowedHosts. I set them to allow api.twilio.com, but the app still give me error “access denied java.net.SocketPermission api.twilio.com resolve”. I have added api.twilio.com in the External Host, but still get this error message. Any ideas?
Thanks, Victor.
enterprise.allowedHosts = api.backendless.com,\
api.twilio.com,\
api.twilio.com:443,\
localhost,\
Hi Victor,
Could you please describe your use case? Do you use Online or Enterprise version?
Regards,
Denys
Hi Denys,
I think it’s using Enterprise (standalone) now.
Cheers,
Victor.
I did already, as shown in screenshot.
The problem still the same.
Internal ticked has been created for this issue.
Regards,
Denys
Thanks for your help, Denys.
Hi Victor.
First of all, we don’t provide free support for standalone version.
About your problem:
For standalone version you need set up cached DNS, to get the same dns-answer on the same dns-request. Because inner cache refreshed every 3 minutes, you may get inconsistence behavior during this time period if the host’s ip changed.
In future we’ll remove this restriction for standalone version.
p.s. It is no need to set port in runner.properties file - just hostname.