Apache Tomcat in Eclipse with proxy

I am on a network that accesses the Internet through a proxy. I have a java / struts application that I run through eclipse (and Tomcat apache).

When I find the URL, for example http: // localhost: 8080 / fooUrl , it displays in the browser: " Self-referential requests to proxy are forbidden "

I cannot turn off the proxy server as I need to access the Internet through my application.

Any suggestions why I am not allowed to make a localhost request?

+4
source share
1 answer

In Settings> Network Connections, did you specify proxy bypass for localhost / 127.0.0.1? These 2 rules exist by default.

+4
source

Source: https://habr.com/ru/post/1392844/


All Articles