Link to home
Start Free TrialLog in
Avatar of Sathish David  Kumar N
Sathish David Kumar NFlag 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 
Avatar of Kimputer
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
Avatar of Bembi
Bembi
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sathish David  Kumar N

ASKER

reslove via programmatically