Socket issues

Gary M. Josack gary at
Sat Jan 17 22:02:37 CET 2009

twistedduck9 wrote:
> Hi all
> I've been trying to set up sockets on my server (running Apache/2.2.3)
> using python and I'm confused as to why it doesn't work.
> I set up a simple listening script which runs without error, and works
> if a connecting script is run on the same server. However, if I try to
> connect using Telnet it doesn't work. I am definetly using the public
> IP address (
> The weird thing is that I have the same problem if I make the socket
> in PHP, and even more weird is that sockets used to work, but now do
> not (and as far as I can tell, I have changed nothing).
> Any ideas?
> Thanks,
> Sunil
> --
With no code it's hard to tell if there's an issue there, but if the 
same code worked before and still works locally I'm going to guess firewall.

More information about the Python-list mailing list