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.

proxy
Filter by
Sorted by
Tagged with
26 votes
10 answers
65k views

Detect clients with Proxy Servers via PHP [duplicate]

I'm looking for a method, or a way to detect clients using any type of proxy server viewing my web site. I'm using PHP/Apache... what's the best way to do this? Any proxy server would need to be ...
Kladskull's user avatar
  • 10.5k
23 votes
3 answers
70k views

Setting a proxy for Chrome Driver in Selenium

I am using Selenium Webdriver using C# for Automation in Chrome browser. I need to check if my webpage is blocked in Some regions(some IP ranges). So I have to set a proxy in my Chrome browser. I ...
Ajay S's user avatar
  • 379
100 votes
6 answers
156k views

How to configure a HTTP proxy for svn

I want to check code from the repository http://code.sixapart.com/svn/perlbal/ . I can only access the the repository url by setting a proxy. I guess if I want to get the code from the same URL by svn ...
Haiyuan Zhang's user avatar
86 votes
3 answers
32k views

Assigning vhosts to Docker ports

I have a wildcard DNS set up so that all web requests to a custom domain (*.foo) map to the IP address of the Docker host. If I have multiple containers running Apache (or Nginx) instances, each ...
ringmaster's user avatar
  • 3,009
78 votes
16 answers
88k views

Bower calls blocked by corporate proxy

I'm trying to use Bower for a web app, but find myself hitting some sort of proxy issues: D:\>bower search jquery bower retry Request to https://bower.herokuapp.com/packages/search/jquery ...
LJW's user avatar
  • 2,378
74 votes
7 answers
300k views

How can I set a proxy server for gem?

I am unable to install SASS through command prompt. I tried below steps c:\gem install sass I am getting below error: ERROR: Could not find a valid gem 'sass' (>= 0), here is why: ...
user3358928's user avatar
72 votes
5 answers
101k views

How does Windows actually detect LAN (proxy) settings when using Automatic Configuration

When Windows Internet Properties -> Connections -> LAN Settings -> Automatic Configuration is set to "Automatically detect settings" how does Windows actually determine/discover ...
Craig Day's user avatar
  • 2,525
66 votes
6 answers
141k views

nginx: use environment variables

I have the following scenario: I have an env variable $SOME_IP defined and want to use it in a nginx block. Referring to the nginx documentation I use the env directive in the nginx.conf file like the ...
schickling's user avatar
  • 4,120
64 votes
5 answers
121k views

Using RestTemplate, how to send the request to a proxy first so I can use my junits with JMeter?

I have a web service running on my dev box implemented using Spring-MVC 3.0. I have various JUnits that test against that service using RestTemplate. What I would like to do is have JMeter pick up ...
AHungerArtist's user avatar
62 votes
4 answers
81k views

Dynamic proxy_pass to $var with nginx 1.0

I am trying to proxy a request to different targets depending on an environment variable. My approach was to put the target url into the custom variable $target and give this to proxy_pass. But ...
Sebastian Heuer's user avatar
45 votes
7 answers
208k views

Forwarding port 80 to 8080 using NGINX [closed]

I'm using LEMP stack and Node JS on my debian server. Nginx works on port 80 and Node JS on 8080. I created new subdomain: cdn.domain.com for nodejs app. Currently I can access to Node JS application ...
heron's user avatar
  • 3,633
44 votes
13 answers
110k views

Webdriver and proxy server for firefox

are there any ways to set firefox's proxy settings? I found here information about FoxyProxy but when Selenium works, plugins are unactivated in window.
Max Frai's user avatar
  • 63.2k
43 votes
2 answers
41k views

Create-React-App Proxy in Production Build

I'm using create-react-app with an express backend. I have the backend running on port 3001, and the frontend runs through port 3000 when in dev mode. I have "proxy": "http://localhost:3001" in my ...
X88B88's user avatar
  • 621
42 votes
4 answers
42k views

Dynamically creating a proxy class

I am trying to create a proxy class dynamically. I know there are some very good frameworks out there to do this but this is purely a pet project as a learning exercise so would like to do it myself. ...
Dave S's user avatar
  • 1,423
38 votes
2 answers
39k views

How can I use an HTTP proxy for a JAX-WS request without setting a system-wide property?

I have an application that needs to make a SOAP client request to a system on the Internet, so it needs to go though our HTTP proxy. One can do this by setting system-wide values such as system ...
jbindel's user avatar
  • 5,585
32 votes
5 answers
41k views

How to setup MongoDB behind Nginx Reverse Proxy [closed]

I am trying to setup Nginx as a reverse proxy for accessing a MongoDB Database. By default Mongo listens to 27017 port. What I want to do, is redirect a hostname for example mongodb.mysite.com ...
mitsos1os's user avatar
  • 2,250
26 votes
4 answers
37k views

How do I find out the browser's proxy settings?

I am writing a command-line tool for Windows that uses libcurl to download files from the internet. Obviously, the downloading doesn't work when the user is behind a proxy server, because the proxy ...
rix0rrr's user avatar
  • 10k
24 votes
2 answers
12k views

Web site exhibits JavaScript error on iPad / iPhone under 3G but not under WiFi

Connecting to http://www.manage-us.com on an iPad under 3G [used to] result in a JavaScript error which can be seen if the developer console has been enabled. If the same page is accessed using the ...
sroebuck's user avatar
  • 6,070
21 votes
4 answers
27k views

How do I tell the R interpreter how to use the proxy server?

I'm trying to get R (running on Windows) to download some packages from the Internet, but the download fails because I can't get it to correctly use the necessary proxy server. The output text when I ...
Firefeather's user avatar
19 votes
1 answer
32k views

OkHTTPClient Proxy authentication how to?

Question: How do I add a authorization proxy to OkHTTP. I know that OkHTTP's builder does support proxies although I am having a hard time setting one up. /** * Given a Url and a base64 encoded ...
Liably's user avatar
  • 327
19 votes
3 answers
11k views

Multiprocessing Share Unserializable Objects Between Processes

There are three questions as possible duplicates (but too specific): How to properly set up multiprocessing proxy objects for objects that already exist Share object with process (multiprocess) Can ...
User's user avatar
  • 14.4k
18 votes
1 answer
40k views

C# WebBrowser Control Proxy

How to implement Proxy in C# WebBrowser control/Component. What I want to know, is how to implement proxy, so my C# webBrowser control use this proxy for browsing when its run. I also don't want to ...
xhah730's user avatar
  • 215
12 votes
1 answer
10k views

How users/developers can set the Android's proxy configuration for versions 2.x?

I would like to know if it's possible for the user, or for the developers to set the Wi-Fi Access Point proxy settings in Android versions 2.x (I know that it's possible for 3.x or greater versions ...
lechuckcaptain's user avatar
12 votes
6 answers
15k views

How to programmatically add a proxy to an NSURLSession

Looking over the documentation of NSURLSession and NSURLSessionConfiguration, I was under the impression I should configure it with a dictionary like the following: // Create a dictionary to ...
Jeff's user avatar
  • 6,677
4 votes
6 answers
9k views

Detecting whether a user is behind a proxy

I'm trying to figure out how I could detect whether people logging into my site are behind a proxy or not. I've read that you can detect a person's real IP address through embeddable objects (Flash ...
ravun's user avatar
  • 1,522
501 votes
6 answers
291k views

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, ...
frosty's user avatar
  • 5,001
311 votes
12 answers
917k views

How can I set a 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 a username and password. How can I do this?
Hakim's user avatar
  • 11.5k
114 votes
8 answers
211k views

How to preserve request url with nginx proxy_pass

I was trying to use Thin app server and had one issue. When nginx proxies the request to Thin (or Unicorn) using proxy_pass http://my_app_upstream; the application receives the modified URL sent by ...
Dmytrii Nagirniak's user avatar
95 votes
10 answers
86k views

GitHub Windows client behind proxy

I'm trying to get the GitHub client for Windows working. I am on a corporate Windows 7 x64 computer behind a corporate proxy and firewall. Following various other posts and experimenting with multiple ...
Joshua Honig's user avatar
84 votes
3 answers
65k views

Proxying to another web service with Flask

I want to proxy requests made to my Flask app to another web service running locally on the machine. I'd rather use Flask for this than our higher-level nginx instance so that we can reuse our ...
Joe Shaw's user avatar
  • 22.4k
80 votes
12 answers
220k views

npm behind a proxy fails with status 403

I'm trying to run npm behind a proxy. I've tried both entering the proxy directly or through Authoxy: npm config set proxy http://localhost:8999 npm config set https-proxy http://localhost:8999 ...
nwinkler's user avatar
  • 53.6k
75 votes
6 answers
121k views

Setting up proxy for HTTP client

I'm trying to setup the HTTP client so that it uses a proxy, however I cannot quite understand how to do it. The documentation has multiple reference to "proxy" but none of the functions seem to allow ...
laurent's user avatar
  • 89.5k
52 votes
3 answers
46k views

How does a HTTP Proxy utilize the HTTP protocol? a Proxy RFC?

How does one go about implementing a HTTP proxy compared to implementing a HTTP webserver, what are the differences? Is there a definitive guide or RFC or a helpful book on this subject?
unixman83's user avatar
  • 9,709
52 votes
1 answer
25k views

SVG images blocked by gmail proxy

It seems like the new gmail proxy for images doesn't work with SVG (gives a 404 error if you open the proxy url in a new tab.) I haven't been able to find any documentation about supported/blocked ...
Redzarf's user avatar
  • 2,598
49 votes
2 answers
105k views

Nginx: when to use proxy_set_header Host $host vs $proxy_host

I've been reading up on reverse proxying and am wondering when proxy_set_header Host $host is appropriate over proxy_set_header Host $proxy_host. I did some research and in this article it says that ...
Alex's user avatar
  • 3,611
44 votes
4 answers
49k views

Emacs behind HTTP proxy

Emacs is able to access the Internet with packages such as url.el or the W3 web browser. Also, the Emacs Lisp Package Archive is heavily dependent on package url.el. Now, how do I configure Emacs to ...
Leonel's user avatar
  • 28.9k
43 votes
2 answers
124k views

How to pass all Python's traffics through a http proxy?

I want to pass all Python's traffics through a http proxy server, I checked urlib2 and requests packages for instance, they can be configured to use proxies but how could I use something like a system-...
Hassan Abedi's user avatar
40 votes
9 answers
39k views

How do I get the underlying type of a proxy object in java?

I'd like to access the classname of the underlying class which is an instance of java.lang.reflect.Proxy. Is this possible?
blank's user avatar
  • 18k
39 votes
13 answers
139k views

Visual Studio Error: (407: Proxy Authentication Required)

I am behind a corporate proxy server which requires credentials. I have been trying to connect to a TFS server (on tfspreview.com) with MS Visual Studio Pro 2012 for the last 2 hours with no success. ...
gillytech's user avatar
  • 3,616
39 votes
4 answers
54k views

PuTTY configuration equivalent to OpenSSH ProxyCommand

I'm just trying to use PuTTY to get an SSH connection to my servers. These servers allow incoming SSH connection only from another specific server ("MySshProxyingServer" in example below). Using ...
veiL's user avatar
  • 393
38 votes
7 answers
113k views

How do you detect a VPN or Proxy connection? [closed]

I would like to block all connections to my server that use a VPN or Proxy. Is there anyway to detect that a VPN or proxy connection is being used? If not, is there anyway that I can check the ...
Zach Sugano's user avatar
  • 1,577
37 votes
1 answer
54k views

Squid: forward to another proxy (with authentication details for the parent proxy)

In short, I am looking for a simple way to do the following (please give code samples if possible): set up and start a proxy server on my computer (say address is 10.10.200.200:6767) that can capture ...
Neo's user avatar
  • 3,565
32 votes
3 answers
104k views

Unable to tunnel through proxy. Proxy returns “HTTP/1.1 407” via https

I am faced with a curious behaviour of java6/8. I try to tunnel through a proxy which needs basic user authentication. Doing this by the standard java Authenticator. If I try to access a https url as ...
PPr's user avatar
  • 325
31 votes
3 answers
103k views

seriously simple python HTTP proxy? [duplicate]

I have looked everywhere and found millions of python proxy servers but none do precisely what i would like (i think :s) I have had quite a bit of experience with python generally, but i'm quite new ...
jma's user avatar
  • 808
28 votes
3 answers
54k views

Spring RestTemplate and Proxy Auth

I'm trying to do REST calls with Spring. As I understand, the right way to go is using RestTemplate(?). Problem is, I'm behind a proxy. This is my code right now: SimpleClientHttpRequestFactory ...
yogiginger's user avatar
  • 1,105
27 votes
8 answers
55k views

C# auto detect proxy settings

C# 2008 SP1 I am using the code to detect if a proxy has been set under "Internet Options". If there is a proxy then I will set this in my webclient. So I am just checking if the address of the ...
ant2009's user avatar
  • 25.2k
26 votes
5 answers
91k views

Spring-Boot behind a network proxy

I am currently implementing an OpenID authentication based on this example. Now I am developing behind a network proxy, therefore the server cannot connect to google. The java proxy settings seem to ...
KenavR's user avatar
  • 3,839
24 votes
3 answers
36k views

How can I stop cURL from using 100 Continue?

So, long story short, I have an AJAX application that uses MVC Web API as the back end. The client however calls from a different domain and uses a PHP proxy file to get around cross-domain request ...
jmillar's user avatar
  • 355
23 votes
4 answers
69k views

How to use an HTTP proxy in java

I am writing a code that connects to websites and checks some code, like a crawler. But I need to connect trough a proxy and change the IP address (so it doesn't show the client's IP in the server ...
Tim's user avatar
  • 239
23 votes
3 answers
33k views

What does Proxy mean in the console in Vue 3?

I'm shuffling an array and getting a weird message in the console. My JSON file looks like this: [ { "id": 1, "name": "Sushi", "image": "...
Raccoon's user avatar
  • 1,377

1 2
3
4 5
42