Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: how to setup for localhost:8000 Date: Fri, 15 Apr 2016 17:38:02 +1000 Lines: 16 Message-ID: References: <5ea1e31b-09ba-4b6a-be8b-58886c5c5f81@googlegroups.com> <1460659012.81552.579014273.1E542AB8@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de FTZQQIbrWOBkQ+fiRW11qgJXRW1zHQfaIk0bKueeQtSw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'received:209.85.223': 0.03; 'hosts': 0.07; 'cc:addr:python-list': 0.09; 'file,': 0.15; "(it's": 0.16; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'url:8000': 0.16; 'wrote:': 0.16; 'resolved': 0.18; '>>>': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'not,': 0.22; 'browsers': 0.22; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; '15,': 0.30; "i'd": 0.31; 'correctly': 0.34; 'received:google.com': 0.35; 'configured': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'url:non-standard http port': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'itself': 0.38; 'received:209': 0.38; 'why': 0.39; 'easily': 0.39; 'some': 0.40; 'your': 0.60; 'more': 0.63; 'url:0': 0.63; 'chrisa': 0.84; 'huh?': 0.84; 'subject::': 0.85; 'to:none': 0.91 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; bh=xIA/zOe1/cn6IAfl3RG4+c2OrA8D2CcAGdrUVMoggyw=; b=xq3pRiYMh7etHXA7hLPB8eyi1NWYksIEIJcu6J8HrRsrr7Vlue0VPDn8wmUq/d8R7i kMDBIhN9fjiIQx6o/98s4uAh8rNS7RXRvmqRp/jzMc4r53tkTcCZbxe/Umltw1idWwuD wM7O65Q/bY31E4+b6lV1NFpZ3ZlN07Id8YjvGm70LhGLYPMwQKUUivOLupdKVBzAPowu 6Vz6vy4XMlZOI+K4Vq3JhaTguvRz4qOZDdnjhY9Mv8VzQVGHsDn6klzRrPMtXnNxWVAo Z/8sciBab1HqEdqjmL6awyVhg0Q2+24DyDrK/JI/jAZ0UxOts33z7wwFqtGh0H/XfIG9 wx7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=xIA/zOe1/cn6IAfl3RG4+c2OrA8D2CcAGdrUVMoggyw=; b=mlJmxjWOdncQcbqhVtRh3Y2dYjuoDeiRoXACTNdmax05E0uTg78L/+4yIbeWYQBoMU kphoLhDKv/Qkm9alHt42zfnnZ/Qe2WkjCLPJRztksl2LrpmZSn7upFSTNYey+o4Apaik FV/Kz5vDOnpn7uAnFxTDW8Kq2osxJ/82xeRzHb5Q/CzxlZgErVB/VdEptGqncFfWBGA/ 1hVWsdvH/1zZDT5RZRPvUYRT5uE1aTk4lgRRBcan/ueeiQYERsN/sD0Ll57IuwlU939f i7qNrpxeApkv4CuiuBVCgjFEAqbmMGNmi4ZN7Inx5MmOpuHeuCyOP29qkLZwJxFH8mpP q/8g== X-Gm-Message-State: AOPr4FW5jL0+e5FjJ7r/HYLWWTK4ZbRDI1y55gDRitjb3KXdkCJYBMhhawkGGcL82dpGF91HaCyqlGYhVDcYsA== X-Received: by 10.107.137.101 with SMTP id l98mr10719511iod.31.1460705883018; Fri, 15 Apr 2016 00:38:03 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <5ea1e31b-09ba-4b6a-be8b-58886c5c5f81@googlegroups.com> <1460659012.81552.579014273.1E542AB8@webmail.messagingengine.com> Xref: csiph.com comp.lang.python:107027 On Fri, Apr 15, 2016 at 3:59 PM, Vito De Tullio wrote: > Chris Angelico wrote: > >>> Just a note, some browsers will try to resolve this as www.localhost.com >>> - try http://127.0.0.1:8000 . >> >> Huh? Why should the name 'localhost' get a dot com added? > > ask browser vendors... I'd more ask your local resolver. If the name 'localhost' can be correctly resolved (it's commonly in your hosts file, and if not, your local DNS resolver can easily be configured to be authoritative), no additional TLD should be added ('localhost' is itself a valid TLD). ChrisA