简体   繁体   中英

Use Backendless behind proxy

I'm trying to use Backendless framework in my Java server but I'm working behind a corporative http proxy and I get UnknownHostException when I do things like:

Backendless.Persistence.save(employee);

I have tried to put http.proxyHost and http.proxyPort JVM options but I still get the same error. I have tried with java.net.useSystemProxies , too.

Thanks in advance.

Backendless allows you to set custom endpoint using following signature:

Backendless.setUrl( "http://your-custom-endpoint-here" );

Then you set up port forwarding to redirect all requests from your mirror to api.backendless.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM