Message:

Subscribe rss
Blog categories
All | Backendless features
Connecting to external hosts from custom business logic
July 7, 2014 by markpiller
Spread the love

There are a lot of scenarios when custom business logic on the server-side may need to connect to an external host. Whether it is a service call to a third-party service or a retrieving data from a proprietary system, the code must establish a connection to an external host. Up until now if you tried to connect elsewhere except for Backendless’ API endpoint, you’d be getting an exception in your custom server-side code – we used to block all hosts. Today we released an update which allows you to connect to any computer located elsewhere. The process of establishing a connection does not change – you can connect to any port using any protocol. However, the hosts to which your connect connects, must be registered with Backendless. We have added a special section in Backendless console, which you can see at Manage > App Settings > External Hosts:

external hosts - Connecting to external hosts from custom business logic

When you add a new host, Backendless staff member is notified. Once we review the host and your application, a decision is made and the application developer receives an email. As soon as the host is approved, your custom business logic will be able to establish a connection.

For more information see the External Hosts section in the Backendless documentation.

Share this post
Tweet about this on TwitterShare on FacebookGoogle+