Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag for India asked on

rest API call working fine with out VPN , with VPN not working

In my application i have some external API call , for that I am using resttemplate to call the API rest API call working fine with out VPN connection ,
when I connect to VPN API call is not working its giving connection time out exception  .

Even I set proxy and tried that is also no use .
System.setProperty("https.proxyHost","xxxxx");
System.setProperty("https.proxyPort","80");

Open in new window

I am calling https url only .

How to make the application work for both with and Without VPN 
JavaJava EERESTVPNNetworking

Avatar of undefined
Last Comment
Sathish David Kumar N

8/22/2022 - Mon
Kimputer

Check if DNS is an issue (different nslookup result with and without VPN)
If it's the same, what filtering are you using on outgoing web connections? Could be routing issue, firewall issue, filtering issue.
ASKER CERTIFIED SOLUTION
Bembi

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Sathish David Kumar N

ASKER
reslove via programmatically 
Your help has saved me hundreds of hours of internet surfing.
fblack61