Can Apigee Edge proxy to a backend service that is running on my local server?

Not applicable

I am trying to create a pass through service with apigee. I am able to call a default backend service (ex:

http://api.search.live.net/json.aspx?query=sushi&sources=web) and getting a response back. But when I try to call a backend service(tibco service using http://127.0.0.1:50140/test) which running on my local machine, I am getting connection refused error ("The Service is temporarily unavailable"). But I can see my backend service is running fine and I am able to hit my backend service from browser but not through apigee.

Is there any other configuration that i need to do to hit my backend service(say i need to register my backend Url somewhere in apigee)? Can someone please help?

Solved Solved
2 3 1,602
1 ACCEPTED SOLUTION

Not applicable

You cannot use your localhost as a target url. You need to use a url that has a DNS entry that is accessible to Edge. Thus api.search.live.net will work, but localhost or 127.0.0.1 will not.

View solution in original post

3 REPLIES 3

Not applicable

You cannot use your localhost as a target url. You need to use a url that has a DNS entry that is accessible to Edge. Thus api.search.live.net will work, but localhost or 127.0.0.1 will not.

@Michael Malloy .. Thanks for your reply ....I have a DNS entry for my localhost. Is there any way that I can make this DNS entry accessible to edge ?

yes. There is nothing special about Apigee Edge here though. Basically your local server needs to be addressable and reachable from the internet. testing from your local browser is not enough. You need to verify that a remove client (a remote browser for example) can reach your local server. Apigee Edge just acts as a remote client to your service.