Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #10974
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.051 |
| X-Spam-Evidence | '*H*': 0.90; '*S*': 0.00; 'attempting': 0.04; 'python': 0.08; 'am,': 0.12; '(eg': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'latter,': 0.16; 'rfc': 0.16; 'server?': 0.16; 'question.': 0.16; 'written': 0.16; 'wrote:': 0.16; 'header:In-Reply-To:1': 0.22; 'aug': 0.24; 'network,': 0.28; 'sat,': 0.28; 'server': 0.29; 'message- id:@mail.gmail.com': 0.29; 'second': 0.29; 'elsewhere': 0.30; 'subject:support': 0.30; 'translate': 0.31; 'subject:?': 0.31; 'unable': 0.31; 'chris': 0.32; 'hosted': 0.32; 'probably': 0.33; 'to:addr:python-list': 0.33; 'subject:How': 0.35; 'problem.': 0.36; 'another': 0.37; 'but': 0.37; 'talk': 0.37; 'not,': 0.38; 'easiest': 0.38; 'focused': 0.38; 'question,': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; "there's": 0.39; 'to:addr:python.org': 0.39; 'your': 0.61; 'results': 0.61; 'skip:1 10': 0.63; 'forum': 0.64; 'subject:program': 0.67; 'address,': 0.72; 'subject:make': 0.73; 'why?': 0.73; 'networking.': 0.84; 'subject:device': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=h9m2iLgDjyqcjgAhiOuSpF06sxoOinmwJZL0DBQbrCo=; b=G7p8yaxPk8vITy3mMiGF+mpRCvKwKAlrNKvANklrW5NBf+DA5RAWEbICU4jPXGrN5R AhuDycJbAANKLPmiDK/AnpvJHiK2qg4/dk85u6kGLgGP21iVtRgY4XSvso1J2Bg7NSic DP74bP/hH+RbQ9jnUUswL2B9ZUSHbhfpGrTWM= |
| MIME-Version | 1.0 |
| In-Reply-To | <CAN1FwxcaM7KPtCUHqsrj627qeLfZxkvD1XdJnaKS8oG=vxVM=Q@mail.gmail.com> |
| References | <CAN1FwxcaM7KPtCUHqsrj627qeLfZxkvD1XdJnaKS8oG=vxVM=Q@mail.gmail.com> |
| Date | Sat, 6 Aug 2011 13:22:35 +0100 |
| Subject | Re: How to make the program support communication behind NAT device? |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1979.1312633358.1164.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1312633358 news.xs4all.nl 23915 [2001:888:2000:d::a6]:43460 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:10974 |
Show key headers only | View raw
On Sat, Aug 6, 2011 at 11:20 AM, smith jack <thinke365@gmail.com> wrote: > The subnet behind my router is 192.168.1.0/24, my pc ip is 192.168.1.9, > the server written with python is hosted on 192.168.1.3 on port 1033, > i can connect to this server from my pc > > But cannot connect to this server when outside of this subnet? why? > > I have made port translate on router, that is 10.10.9.2:1033 to 192.168.1.3:1033 This is a networking question, not a Python question. You'll probably get better results on a forum focused on networking. Your router's address, 10.10.9.2, is another RFC 1918 address, just like 192.168.1.3. Are you attempting to connect from elsewhere on the 10.* network, or elsewhere on the internet? If the latter, you probably have to deal with a second level of NAT. The easiest way to test: Can you talk to (eg ping) the router, 10.10.9.2, from the computer that's unable to reach your server? If not, there's your problem. Chris Angelico
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How to make the program support communication behind NAT device? Chris Angelico <rosuav@gmail.com> - 2011-08-06 13:22 +0100
csiph-web