Retrieve external webpage from Openshift war application?
I'm new to Openshift and trying to deploy a war-application on JBossAS that will periodically "scrape" some information from external webpages and save in database.
I'm doing, like:
org.apache.commons.httpclient.HttpClient httpClient = new HttpClient(); HttpMethod httpMethod = new GetMethod(url); httpClient.executeMethod(httpMethod);
to access external URLs, and it works OK to access arbitrary URLs when I run it from my local Windows-machine.
But in Openshift, the call to
java.net.BindException: Permission denied
Does this mean it is forbidden to access external URLs from Openshift?
Or is there a solution for this?