I have a standalone server that runs normal REST requests just fine.
However, when running server-side code via the generated REST API, I get the following error:
0 - access denied (“java.net.SocketPermission” “mycustom.domain.com” “resolve”)
The same call works without an issue on the Backendless Hosted platform.
FYI, in order to set a domain name for my standalone instance, I did the following as suggested in another post:
- add host with https in the allowedHosts element (to allow access to development console via https)
<host>[url=https://your-backendless-dev-console-address%3C/host%3E]https://your-backendless-dev-console-address</host>[/url];
Modify the “console” element :
<console>
<rootUrl>https://your-backendless-dev-console-address</rootUrl>;
Make the following change to allow API https access:
<server>
<ipHeader>X-Real-IP</ipHeader>
<httpAddress>https://your-server-host-address</httpAddress>;