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
6
votes
1 answer

Maven - how to set socks proxy via settings.xml

I wonder how I could set a SOCKS proxy for maven via the ~/.m2/settings.xml? Yes, I know there is a recipe to do this via MAVEN_OPTS environment variable. But I would like to set this in the settings.xml within the section. Which kind of…
Gerd Aschemann
  • 494
  • 5
  • 14
6
votes
0 answers

How to write a pass through tcp proxy in c++

I'm trying to write a proxy server that just pass what I read from remote to client. It should be something like FiddlerCore. I follow this study but confused with the server ip and server…
user3819226
  • 461
  • 1
  • 5
  • 17
6
votes
2 answers

Google API + proxy + httplib2

I'm currently running a script to pull data from Google Analytics with googleapiclient Python package (that is based on httplib2 client object) --> My script works perfectly without any proxy. But I have to put it behind my corporate proxy, so I…
6
votes
2 answers

Cannot build after upgrade to Visual Studio 2015 Update 2 / TACO Update 8

Today I upgraded to Visual Studio 2015 Update 2 including TACO Update 8. When I try to build, it fails. In the detailed error log, I see (beside others): Installing npm 2.14.9. This could take a few minutes... Failed : The remote server returned…
Markus Wagner
  • 708
  • 3
  • 13
6
votes
2 answers

How can I suppress 301 redirects from the target with node-http-proxy?

When the target of the proxy issues a redirect (301 in this case), the proxy forwards that to the client. The client is then redirected to the actual domain and no longer using the proxy. Is there a way to prevent this redirection from affecting the…
davidmyersdev
  • 1,042
  • 8
  • 10
6
votes
2 answers

Webpack-dev-server not sending requests to external domain via proxy

I'm trying to use the webpack-dev-server proxy configuration to send api requests to an external domain and I can't seem to get it working. Here's my config: var path = require('path') module.exports = { entry: './client/index.js', output:…
Chris Schmitz
  • 20,160
  • 30
  • 81
  • 137
6
votes
1 answer

Edit POST parameters prior to forwarding to a proxy target and sending response back to client

I have a node/express proxy setup using http-proxy-middleware to route requests to a java-tomcat web service (proxy target). I need to inject POST form data into the request rawbody with a context-type of "application/x-www-form-urlencoded" prior…
flackenstein
  • 91
  • 1
  • 6
6
votes
3 answers

tinyproxy unable to forward Connect methods

I'm trying to set up a transparent proxy for all types of frames (HTTP, HTTPS), I'm using tinyproxy to do so. I've already set up my router to redirect (using NAT) all incoming and outgoing frames to tinyproxy (which is listening on port 8888). I…
Hansen Qian
  • 61
  • 1
  • 1
  • 4
6
votes
1 answer

How to use HttpURLConnection over SOCKS proxy on Android

Well, I have been trying to use SOCKS proxy on android. Too much I am struggled and I failed to use it correctly. Basically I do want to get a content of a page over a SOCKS proxy using HttpURLConnection (is a must). The code I am using is this: …
guness
  • 6,336
  • 7
  • 59
  • 88
6
votes
5 answers

CefSharp 3 set proxy at Runtime

I downloaded CEF (chromuim embedded framework) binary distributation that comes with (cefclient & cefsimple) c++ examples, And Realized that cefclient can change proxy settings on run-time. And the key to do that is to Grab the RequestContext and…
Aladdin
  • 339
  • 1
  • 2
  • 15
6
votes
0 answers

Why ProxySettings doesn't work in EmbeddedWB ? (Delphi)

This is my code : EmbeddedWB1.ProxySettings.Address:='119.112.222.146'; EmbeddedWB1.ProxySettings.Port:=9415; EmbeddedWB1.ProxySettings.AutoLoadProxy:=true; EmbeddedWB1.RefreshProxy; EmbeddedWB1.Navigate('www.whatismyipaddress.com'); But when i…
Kermia
  • 4,171
  • 13
  • 64
  • 105
6
votes
2 answers

nodejs app accessible on port 3000 behind nginx reverse proxy

I am running a nodejs application with nodejs app an server listening on port 3000. I use nginx as a reverse proxy which also handles ssl. the configuration is listed below (and it seems to me after reading several tutorials and forum posts it is…
Macs
  • 197
  • 2
  • 15
6
votes
1 answer

How to set a git config variable to the empty value from the command line

I am inside a corporate network that requires a proxy to be set up to access servers outside the intranet. So, to be able to git clone from, say, github we have set up the HTTP_PROXY environment variable. That works fine. However, we also have an…
Klas Mellbourn
  • 42,571
  • 24
  • 140
  • 158
6
votes
1 answer

NPM install fails inside Docker container but runs on host w/ corporate proxy

I am deploying some node.js services to a corporate system within docker containers. My Dockerfiles for these services are very basic, with the exception that I am setting the proxy environment variables: FROM node:4.2.3 ADD . /src WORKDIR…
Collin Estes
  • 5,577
  • 7
  • 51
  • 71
6
votes
1 answer

How do I configure proxy settings for TeamCity?

We have a TeamCity server sitting behind a cooperate proxy. We use several of the Castle open source libraries. I want to set up CI builds for the Castle stack internally, so that I can create dependent builds for our core shared libs. Everything…
NotMyself
  • 29,209
  • 17
  • 56
  • 74