Questions tagged [proxy]

A device or program that stands between two or more interconnected programs or devices. Use [dynamic-proxy] for the Java class, [proxy-pattern] for the design pattern, [es6-proxy] for the JavaScript Proxy object.

A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection or a web page available from a different server, and the proxy server evaluates the request as a way to simplify and control its complexity.


Purpose

Many users worry about what kind of information can be traced back to them. An Internet proxy server can be used as an intermediary so that the sites never directly connect to the host network. Some websites block certain Internet users by geography, so using a Web proxy located in the Web host's country will allow foreign users to use the website.


References

19642 questions
184
votes
7 answers

How do I configure the proxy settings so that Eclipse can download new plugins?

I am working with Eclipse 3.7, on an Windows XP environment behind a web proxy. I want to install the Groovy plugin on a newly unzipped Eclipse Indigo (Eclipse Java EE Indigo M4). I added the update site to the Available Software Site list. But…
Romain Linsolas
  • 79,475
  • 49
  • 202
  • 273
183
votes
27 answers

Using npm behind corporate proxy .pac

I need to download several packages through npm but our corporate proxy configuration is a .pac file (i'm on windows) I have already tried npm config set proxy http://mydomain\username:password@1.2.3.4:8181/proxy.pac npm config set https-proxy…
Doc
  • 5,078
  • 6
  • 52
  • 88
177
votes
26 answers

Problems using Maven and SSL behind proxy

I just downloaded Maven and was trying to run the simple command found on the "Maven in Five Minutes" page (http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html). This is the command: mvn archetype:generate…
Andy
  • 4,475
  • 4
  • 19
  • 20
176
votes
2 answers

Difference between the Facade, Proxy, Adapter and Decorator design patterns?

What is the difference between the Facade, Proxy, Adapter, and Decorator design patterns? From a generic point of view, such patterns seem to do the same thing, that is: wrap an API and provide access to it. How to distinguish these patterns? How to…
user310291
  • 36,946
  • 82
  • 271
  • 487
167
votes
5 answers

How to convert `git:` urls to `http:` urls

I'm working behind an http proxy. I'm trying to clone Android's source tree using their "repo" tool. This tool insists on using git:// URLs, even though http:// URLs also work. As a result, I can't download the source. Is it possible to force git…
noamtm
  • 12,435
  • 15
  • 71
  • 107
166
votes
19 answers

How can I use an http proxy with node.js http.Client?

I want to make an outgoing HTTP call from node.js, using the standard http.Client. But I cannot reach the remote server directly from my network and need to go through a proxy. How do I tell node.js to use the proxy?
Christian Berg
  • 14,246
  • 9
  • 39
  • 44
166
votes
17 answers

How do I use Maven through a proxy?

I want to share my experience of using maven through a proxy. You would most likely face exceptions and messages like: repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error…
Bogdan
  • 1,995
  • 2
  • 14
  • 12
161
votes
7 answers

How do I make HttpURLConnection use a proxy?

If I do this... conn = new URL(urlString).openConnection(); System.out.println("Proxy? " + conn.usingProxy()); it prints Proxy? false The problem is, I am behind a proxy. Where does the JVM get its proxy information from on Windows? How do I set…
izb
  • 50,101
  • 39
  • 117
  • 168
151
votes
10 answers

How to create a simple proxy in C#?

I have downloaded Privoxy few weeks ago and for the fun I was curious to know how a simple version of it can be done. I understand that I need to configure the browser (client) to send request to the proxy. The proxy send the request to the web (let…
Patrick Desjardins
  • 136,852
  • 88
  • 292
  • 341
145
votes
4 answers

How to use CURL via a proxy?

I am looking to set curl to use a proxy server. The url is provided by an html form, which has not been a problem. Without the proxy it works fine. I have found code on this and other sites, but they do not work. Any help in finding the correct…
user586011
  • 1,908
  • 4
  • 18
  • 29
135
votes
9 answers

HTTPS connections over proxy servers

Is it possible to have HTTPS connections over proxy servers? If yes, what kind of proxy server allows this? Duplicated with How to use Socks 5 proxy with Apache HTTP Client 4?
Elz
134
votes
12 answers

Axios having CORS issue

I added proxy in package.json and it worked great, but after npm run build the CORS issue has resurfaced again, does anyone know how to deal with CORS issue after npm run build in React. I have tried to add headers in axios request using various…
Kiran
  • 2,147
  • 6
  • 18
  • 35
132
votes
14 answers

WebSockets and Apache proxy: how to configure mod_proxy_wstunnel?

I have : Apache 2.4 on port 80 of my server, with mod_proxy and mod_proxy_wstunnel enabled Node.js + socket.io on port 3001 of the same server Accessing example.com (with port 80) redirects to 2. thanks to this method with the following Apache…
Basj
  • 41,386
  • 99
  • 383
  • 673
131
votes
23 answers

git returns http error 407 from proxy after CONNECT

I have a problem while connecting to github from my PC, using git. System Win 7. I have connection through proxy, so i specified it in git config files (both in general git folder, and in git repo folder). To do this i entered next line to my git…
Olga Chernyavskaya
  • 1,311
  • 2
  • 9
  • 4
128
votes
34 answers

Could not resolve all dependencies for configuration ':classpath'

I cant seem to get build tools for the latest gradle at all. I suspect its something to do with proxy setting for gradle. I have had a good look online but still cant seem to find a solution. I use gradle 2.1. I created gradle.properties file in my…
Nabdreas
  • 3,327
  • 4
  • 27
  • 30