Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'windows,': 0.09; 'cc:addr :python-list': 0.11; 'windows': 0.15; '(note,': 0.16; 'command,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hostname': 0.16; 'right;': 0.16; 'simpson': 0.16; 'subject:proxy': 0.16; 'subject:windows': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'variable': 0.18; 'normally': 0.19; 'starts': 0.20; 'help.': 0.21; 'cc:addr:python.org': 0.22; 'instead.': 0.24; 'proxy': 0.24; 'tend': 0.24; 'environment': 0.24; 'cc:2**0': 0.24; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'unix': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'easier': 0.31; 'post.': 0.31; 'sep': 0.31; 'figure': 0.32; 'entirely': 0.33; 'url:non-standard http port': 0.33; 'problem': 0.35; 'form.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'possible': 0.36; 'being': 0.38; 'pm,': 0.38; 'ensure': 0.60; 'tips': 0.61; "you're": 0.61; 'first': 0.61; 'more': 0.64; 'user,': 0.69; 'special': 0.74; 'saying:': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=6aUh7gbDmTbhRmoQzBrfZExG6lL1/rHaKZjWFeOJJno=; b=Vy2gOW2+38FX9p09P6NAqRRKwuQf8Ip1akt17ZFsgSz8NDmKY+qM5bW4e3yAJsp98j A97RB6n6OYDy+AVdfPcpJue8D0ehW/5PC+Kgm+vN4xVypoImbTe1Ic/v4/4JeRwgpiJk H2+assiVBvLKV8BI5LIYikBTckg5lXNqYgzaRkm8FfvUF1cJvQCv3Gy8J4j/2kQMIQ2R +f3LeOkxxQm7AjaXcVT4rKXOQlaQkCkHBn/iWBzGEdbdcX+lmlUgK0TgVPFJFcV1DkIi DbHTVy/UFPrKbCPmgBzqgATy7UIjfTD42Dey2SE1BWbgPom6st5pSjwGuaxF7oee1PfM H08A== MIME-Version: 1.0 X-Received: by 10.50.66.197 with SMTP id h5mr25609209igt.34.1409626958695; Mon, 01 Sep 2014 20:02:38 -0700 (PDT) In-Reply-To: <20140902020620.GA6776@cskk.homeip.net> References: <5405157E.3030508@gmail.com> <20140902020620.GA6776@cskk.homeip.net> Date: Tue, 2 Sep 2014 13:02:38 +1000 Subject: Re: Define proxy in windows 7 From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1409626961 news.xs4all.nl 2945 [2001:888:2000:d::a6]:60022 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77429 On Tue, Sep 2, 2014 at 12:06 PM, Cameron Simpson wrote: > I am not a Windows user, but on UNIX systems the format of http_proxy and > https_proxy is: > > http://proxyname:3128/ > > being the proxy hostname and port number respectively. You're saying: > > proxyname:8080 > > instead. (Note, https_proxy _also_ starts with "http:", not "https:" because > the communication with the proxy is HTTP.) > > Try the longer form. And ensure you have the port number right; proxies do > not normally listen on port 80; they tend to listen on port 3128 or 8080. These tips may help. (Though on Windows, where port 80 requires no special privileges, it's more likely for a proxy to use that than it is under Unix. So it's entirely possible it is actually on 80.) But what I'm seeing is a problem with environment variable setting in the first place - or else a transcription problem in the original post. Try this: set http_proxy=proxy name:80 If that doesn't work,*copy and paste* what you're doing and what happens when you do. Include the prompt, the command, and its output. That'll make it easier for us to figure out what's going on. ChrisA