Re: 404 Not Found: Requested route ('') does not exist.

Deepak Arn <arn.deepak1@...>

Hi Teo,

Thanks for the reply.
I have changed the code, Now application code is not handling any thread by itself
Now getting the error
502 Bad Gateway: Registered endpoint failed to handle the request.
As per my understanding, it's some networking issue, which is giving Connection Refused every time when application on cloud foundry trying to make connection from outside cloud foundry. As cf_release is running locally on virtual box and other application also running on same system. So it won't give any network error. I also tried with sample application(code snippet is below), still giving Connection refused error. It may be the case, cloud foundry requires some configuration to allow egress or ingress. Could you please suggest

2017-04-05T16:14:01.08-0400 [APP/PROC/WEB/0]ERR sf(a) died - exiting ( Connection refused (Connection refused))

String url = "";
URL siteURL = new URL(url);
HttpURLConnection connection = (HttpURLConnection) siteURL.openConnection();
int code = connection.getResponseCode();
if (code == 200) {
result = "Green";


Join to automatically receive all group messages.