By krupert
Hi,
I have deployed a Java SpringBoot application on a droplet running Ubuntu. The application is running with the java -jar command. I’m able to call the exposed endpoint by making a get call to (ip address of the vm):(exposed port)/contextroot/helloworld. From my personal computer this works fine while testing with Postman and results in the expected Json. However, when I make the same call from my machine from work, it says the address cannot be found. My work machine is routing all traffic through a proxy. What can I do to expose this REST endpoint properly? So machines with and without a proxy can consume it?
If any further details are needed, please ask! Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
This sounds like your REST endpoint is already exposed properly, but what’s causing the issue is the local proxy setup.
I would recommend following the steps here from the official Postman website on how to configure Postman to work through a proxy:
Regards, bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.