TCP sockets python timeout public IP adresss

bobbdeep anudeepsm at gmail.com
Sun Mar 29 07:20:09 EDT 2015


On Sunday, March 29, 2015 at 3:44:43 PM UTC+5:30, mm0fmf wrote:
> On 29/03/2015 09:57, bobbydeep wrote:
> 
>  From the error (10060) it looks like Windows but it would be nice if 
> you could say which Python and OS you were using.
> 
> I haven't looked at your code but just taking at face value that it does 
> work internally.
> 
> > server_address = ('my-server-ipadress', 1999)
> 
> Next thing to check is whether you have permission to open arbitrary 
> ports on the server and whether they are firewalled off. For example, I 
> have a shell account on the server that hosts my webpages and I can run 
> ftp / scp to move files across the internet. However, I cannot open say 
> port 54321 to the internet and accept connections on it.

I am using windows 8 and python 2.7.7. I did an nmap to my server to identify the list of open ports on my server. I found out that only three ports are open. How do I add a port to the list of open ports on my server ?
server version:
Linux hostname 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux



More information about the Python-list mailing list