socket question
Philippe C. Martin
philippe at philippecmartin.com
Mon Feb 7 17:25:35 EST 2005
Thanks, it was a bind problem: socket.gethostname() returns 'localhost'
where '' is was was needed.
Regards,
Philippe
On Mon, 07 Feb 2005 11:02:13 -0800, Kartic wrote:
>
> Philippe C. Martin wrote:
>> >> My problem is that I cannot connect to my server if the client is
> not on
>> >> the same PC (although I'm doing the above).
>
>
> Does the machine running the server code also have a firewall installed
> that blocks access to the server port from outside? That is the only
> possibility I can think of that prevents a non-local client from
> connecting.
>
> Also, please do a netstat -a on the machine running the server and see
> the IP addresses to which the listening port is bound.
>
> Thanks,
> -Kartic
More information about the Python-list
mailing list