*Hello,* *Observations:* *1. Issue not replicated through integrated tomcat of Spring-boot when the application was started in IntelliJ IDE* *2. Issue was replicated by installing Tomcat 9 on my local machine and building the corresponding war file.*
*In both the above cases, I use the same code and the same HTTP Client (* *java.net.HttpURLConnection**) for calling other API which is on another server.* *I even tried using **org.springframework.web.client.RestTemplate *client for calling other API, but the same observations were seen as mentioned above. "Tomcat is not an HTTP client and provides no HTTP client API. You need > to look at whatever code is issuing the request from Tomcat on Server1 > to Varnish on Server2. The one thing I can be certain of is that no > Tomcat code is involved. " > Thanks & Regards, Uday Kumar