On Sat, Aug 6, 2011 at 11:20 AM, smith jack <thinke...@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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to