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
1923
votes
21 answers

What's the difference between a proxy server and a reverse proxy server?

What is the difference between a proxy server and a reverse proxy server?
Vicky
1032
votes
21 answers

Getting Git to work with a proxy server - fails with "Request timed out"

How do I get Git to use a proxy server? I need to check out code from a Git server, but it shows "Request timed out" every time. How do I get around this? Alternatively, how can I set a proxy server?
Debajit
  • 46,327
  • 33
  • 91
  • 100
584
votes
18 answers

performing HTTP requests with cURL (using PROXY)

I have this proxy address: 125.119.175.48:8909 How can I perform a HTTP request using cURL like curl http://www.example.com, but specifying the proxy address of my network?
user873286
  • 7,799
  • 7
  • 30
  • 38
533
votes
30 answers

How do I pull from a Git repository through an HTTP proxy?

Note: while the use-case described is about using submodules within a project, the same applies to a normal git clone of a repository over HTTP. I have a project under Git control. I'd like to add a submodule: git submodule add…
James A. Rosen
  • 64,193
  • 61
  • 179
  • 261
479
votes
5 answers

How can I connect to a Tor hidden service using cURL in PHP?

I'm trying to connect to a Tor hidden service using the following PHP code: $url = 'http://jhiwjjlqpyawmpjx.onion/' $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch,…
frosty
  • 4,741
  • 4
  • 17
  • 9
386
votes
28 answers

Cannot download Docker images behind a proxy

I installed Docker on my Ubuntu 13.10 (Saucy Salamander) and when I type in my console: sudo docker pull busybox I get the following error: Pulling repository busybox 2014/04/16 09:37:07 Get https://index.docker.io/v1/repositories/busybox/images:…
rpayanm
  • 6,303
  • 7
  • 26
  • 39
363
votes
20 answers

How do I set the proxy to be used by the JVM

Many times, a Java app needs to connect to the Internet. The most common example happens when it is reading an XML file and needs to download its schema. I am behind a proxy server. How can I set my JVM to use the proxy ?
Leonel
  • 28,541
  • 26
  • 76
  • 103
323
votes
35 answers

How to clear https proxy setting of NPM?

How can I clear the previous ssl proxy setting of NPM? well, I search a lot, but all post I got is mainly about how to set proxy in corporate network. I try to set proxy to nothing: npm config set http-proxy npm config set https-proxy the first…
Allan Ruin
  • 5,229
  • 7
  • 37
  • 42
299
votes
13 answers

How to set proxy for wget?

I want to download something with wget using a proxy: HTTP Proxy: 127.0.0.1 Port: 8080 The proxy does not need username and password. How can I do this?
Hakim
  • 11,110
  • 14
  • 34
  • 37
293
votes
33 answers

Using pip behind a proxy with CNTLM

I am trying to use pip behind a proxy at work. One of the answers from this post suggested using CNTLM. I installed and configured it per this other post, but running cntlm.exe -c cntlm.ini -I -M http://google.com gave the error Connection to proxy…
serverpunk
  • 10,665
  • 15
  • 61
  • 95
239
votes
20 answers

How do I update Ruby Gems from behind a Proxy (ISA-NTLM)

The firewall I'm behind is running Microsoft ISA server in NTLM-only mode. Hash anyone have success getting their Ruby gems to install/update via Ruby SSPI gem or other method? ... or am I just being lazy? Note: rubysspi-1.2.4 does not work. This…
Brett Veenstra
  • 47,674
  • 18
  • 70
  • 86
218
votes
12 answers

Proxy with express.js

To avoid same-domain AJAX issues, I want my node.js web server to forward all requests from URL /api/BLABLA to another server, for example other_domain.com:3000/BLABLA, and return to user the same thing that this remote server returned,…
user124114
  • 8,372
  • 11
  • 41
  • 63
215
votes
17 answers

Gradle proxy configuration

I need web access from Gradle through a proxy server to use the Gradle/Artifactory integration for Jenkins. To reduce possible causes for issues, I manually add the Artifactory plugin in build.gradle and run it from command line: apply { apply…
Daniel Beck
  • 6,363
  • 3
  • 35
  • 42
201
votes
8 answers

NGINX to reverse proxy websockets AND enable SSL (wss://)?

I'm so lost and new to building NGINX on my own but I want to be able to enable secure websockets without having an additional layer. I don't want to enable SSL on the websocket server itself but instead I want to use NGINX to add an SSL layer to…
crockpotveggies
  • 12,682
  • 12
  • 70
  • 140
188
votes
10 answers

How to convert a Hibernate proxy to a real entity object

During a Hibernate Session, I am loading some objects and some of them are loaded as proxies due to lazy loading. It's all OK and I don't want to turn lazy loading off. But later I need to send some of the objects (actually one object) to the GWT…
Andrey Minogin
  • 4,521
  • 6
  • 38
  • 60
1
2 3
99 100