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
48
votes
3 answers

Git Submodule update over https

I am sitting on a proxy which only allows http/https traffic only, I am able to clone a repository from Github, but I have to fetch/push using the https URL and username/password. Now my issues is a repository with submodules, when I execute git…
Dunhamzzz
  • 14,682
  • 4
  • 50
  • 74
47
votes
13 answers

Stop mobile network proxy from injecting JavaScript

I am using a mobile network based internet connection and the source code is being rewritten when they present the site to the end user. In the localhost my website looks fine, but when I browse the site from the remote server via the mobile…
Masud Rahman
  • 1,064
  • 4
  • 14
  • 28
47
votes
4 answers

Charles - How to filter the recording using the "client address" field?

I am debugging on my computer by means of adding its IP as the proxy in my iPad. I just need to see the traffic coming from iPad and not the computer. The IP of the iPad is mentioned in the "client address" field of the Overview section. How do I…
Anton Unt
  • 1,835
  • 1
  • 21
  • 47
47
votes
3 answers

Using Fiddler to sniff Visual Studio 2013 requests (proxy firewall)

I am having issues with Visual Studio 2013 and our corporate proxy (signin does not work, updates do not work, visual studio gallery does not work, nuget and git fail ). All of these are doing http or https requests. (e.g.…
Dr.YSG
  • 7,171
  • 22
  • 81
  • 139
46
votes
4 answers

HTTPS Proxy Server in node.js

I am developing a node.js proxy server application and I want it to support HTTP and HTTPS(SSL) protocols (as server). I'm currently using node-http-proxy like this: const httpProxy = require('http-proxy'), http = require('http'); var server…
user1051478
  • 461
  • 1
  • 5
  • 4
46
votes
6 answers

Charles Proxy SSL Certificate not working

I want to modify the website www.moviestarplanet.com. The site got https secured 2-3 weeks ago and i could not use charles anymore.. I've tried so much,but everytime it comes: unknown. Could anyone help me? Instead of unknown there should be:…
NiMe
  • 461
  • 1
  • 4
  • 4
46
votes
32 answers

Error "Gradle sync failed: Connection refused: connect"

So I just installed Android Studio again after a long time and it asked me to configure the proxy, so I did. I tested the connection and it worked. Then it asked me to configure the proxy settings for Gradle and I used the same configurations. Now,…
000000000000000000000
  • 1,467
  • 1
  • 19
  • 38
46
votes
9 answers

How to Specify Eclipse Proxy Authentication Credentials?

I'm using the latest version of Eclipse Galileo and I have to access the web from behind a proxy. I see where I can set the internet settings to manual and specify a proxy but there's no way to specify my authentication credentials that I can see…
jtruelove
  • 3,306
  • 3
  • 25
  • 29
46
votes
2 answers

What is the difference between X-Forwarded-For and X-Forwarded-IP?

To obtain the client IP address in my ASP.NET application I've used the X-Forwarded-For, and get the first IP address from the list (accordingly to the information I've found, there is a client, proxy1, proxy2..). But I've heard recently that it is…
Steve Macculan
  • 2,292
  • 5
  • 22
  • 32
46
votes
7 answers

How to use HTTP_X_FORWARDED_FOR properly?

Alright, I have an small authentication issue. My web service allows to connect to my API over HTTP with a username and password, but this connection can also be restricted to a specific IP address. This means that the $_SERVER['REMOTE_ADDR'] can be…
kingmaple
  • 4,200
  • 5
  • 32
  • 44
45
votes
7 answers

Forwarding port 80 to 8080 using NGINX

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 only like cdn.domain.com:8080/. What I want to do…
heron
  • 3,611
  • 25
  • 80
  • 148
44
votes
3 answers

Sending binary data over http

I am looking for suggestions on the best way to send/receive data from a remote GPRS device, over port 80. Creating a plain TCP socket on a random port works fine, but many carriers only allow port 80 HTTP traffic through their proxies, and then…
vgru
  • 49,838
  • 16
  • 120
  • 201
44
votes
3 answers

Differences between Sidecar and Ambassador and Adapter pattern

I confused between Multi-Container Pod Design patterns. (sidecar, adapter, ambassador) What I understand is : Sidecar : container + container(share same resource and do other functions) Adapter : container + adapter(for checking other container's…
GRu. L
  • 551
  • 2
  • 5
  • 12
44
votes
13 answers

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
  • 61,946
  • 78
  • 197
  • 306
43
votes
2 answers

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 in most cases we set Host to $host. Then why does…
Alex
  • 3,441
  • 4
  • 18
  • 30