Possibility of creating proxy for the services hosted by local tomcat server

proxyerror.pngHi Team,

I have developed one sample rest API using spring boot and deployed locally.(URL: http://10.234.23.56:8444). Now I want to create proxy for this api. IS it possible or not? If not why it is not possible?

I tried creating proxy for the API, I am getting an error as shown in attachments

0 2 141
2 REPLIES 2

It is not possible to access your local http endpoint from Apigee.

1. Either you need to build a publicly accessible service endpoint

2. Or you need to work with your network team to open up access to your local endpoint from the Apigee server you are using.

Your service should be accessible over the network to Apigee for it to work.

As Ngashree said,

Your service should be accessible from over the internet, to allow Apigee to connect with it.

Normally if you run a server on your local workstation (available at http://10.234.23.56), it will not be available over the internet. In particular IP addresses starting with 10 are private IP addresses, and can never be reached from outside the local network.

It's possible you have a home router... which exposes a public (WAN) network address. And often you can use the administrative panels for the router to forward requests that arrive from the internet for a particular port, to a different LAN address on potentially a different port.

That would allow you to reach your 10.x.x.x server from the internet, and it would allow you to use Apigee with that local server.

Another option is to run a program that effectively does this for you. ngrok is one such program. It is available on mac and linux, not sure about windows.

good luck