[python-win32] Socket Connection Problem

Ludovic Reenaers lreenaers at ressource-toi.org
Mon Jan 7 15:13:51 CET 2008


May be your provider blocks it... try config your app to communicate through 4400 or any http port that should be allowed by your provider...hope it can helps.
Ludo


From: João Abrantes 
Sent: Monday, January 07, 2008 11:04 AM
To: Ludovic Reenaers ; python-win32 at python.org 
Subject: RE: [python-win32] Socket Connection Problem


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! MSN Messenger 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080107/bad09a3d/attachment.htm 


More information about the python-win32 mailing list