How use custom library from custom business logic ? :)

I use sms service https://www.twilio.com for send sms from business logic. And coderunner print "

AM com.backendless.coderunner.runtime.InvocationTask runImpl

SEVERE: access denied (“java.net.SocketPermission” “23.21.74.129:443” “connect,resolve”) " . How use custom library from custom business logic ? :slight_smile:

Hi!

You send request to this address 23.21.74.129:443 in custom logic, yes?

If you want to get access to the external hosts from server code you should
add them to the allowed hosts list (go to Backendless console -> Management page -> External Hosts in Business Logic) and restart code runner.
Please, read this doc http://backendless.com/documentation/business-logic/java/bl_external_hosts.htm

Regards,
Kate.

but this service have dynamic ip for connect

все помогло, спасибо)

Отлично!