[python-win32] Socket Connection Problem

João Abrantes jepe_abrantes at hotmail.com
Mon Jan 7 11:04:08 CET 2008


To fix the nat or port forwarding problem i went to my router's page and entered the following on the NAPT virtual server: "Transport Type: TCP , External Start Port: 1236, External End Port: 1236, Internal Start Port: 1236, Internal End Port: 1236" since the socket server is binded to the port 1236 this should fix it right? But it still doesn't work.. lol I have tried to change a lot of network configs and nothing worked ... any ideas pls? 



From: lreenaers at ressource-toi.org
To: jepe_abrantes at hotmail.com; python-win32 at python.org
Subject: Re: [python-win32] Socket Connection Problem
Date: Mon, 7 Jan 2008 00:59:22 +0100










may be you are behind a router or proxy or whatever then 
your external ip is actually the network device connected to the internet. this 
device may probably be tuned for NAT or port forwarding... I 'm not sure this 
your issue but it could be.
it is for sure a network config issue because the port is 
open (since you can connect interenally.) and firewall is disabled.
good luck




From: João Abrantes 
Sent: Sunday, January 06, 2008 9:49 PM
To: python-win32 at python.org 
Subject: [python-win32] Socket Connection Problem


Hello everyone.

I have made a socket server 
on one of my lan computer and I made a socket client on other lan computer. When 
I try to access the server socket using the computer External IP it gives me an 
error: (10061, 'Connection refused'). If I use it's internal ip the connection 
is accepted... I think that I am not able to connect to any computer outside my 
lan because the program only checks for Internal IPs how can I change 
that?

P.S. I already disabled my firewall. The socket server is binded 
to: s.bind(('0.0.0.0.',1236)).

Thanks and Regards



Express yourself instantly with MSN Messenger! MSN 
Messenger 



_______________________________________________
python-win32 mailing 
list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080107/16544825/attachment.htm 


More information about the python-win32 mailing list