Home > Back-end >  A spring cloud, and need the Intranet server API to access the network, how to set up
A spring cloud, and need the Intranet server API to access the network, how to set up

Time:11-03

Doing a Java project, using spring cloud micro service development, all servers in the network, only an external web server exposed, it use the spring cloud gateway ACTS as a gateway,
There is now a service, you need to call the third party API, but the service on a server in the network setup, unable to access external, this case I should how to configure the server in order to achieve this function?

No idea...

CodePudding user response:

Call third-party API you write according to the third party documents aren't direct call is ok, all have a lot of API demo, and nothing can be successful transfer

CodePudding user response:

reference 1st floor pinoco response:
call third-party API you write according to the third party documents aren't direct call is ok, all have a lot of API demo, and nothing can be successful transfer.

Is not the problem, is my server in the network, have no outside network access, so it's impossible to access the outside API, now looking for ways to deal with this problem, the call of the interface in the development environment would be all right, is up to the formal environment, because the cause of the internal and external network impassability

CodePudding user response:

Looking for a network can access the networks outside machine, made a jump nginx,
  • Related