I'm creating a simple python program at a client computer (Linux Ubuntu) :
#import sys
from socket import *
def init():
s = socket(AF_INET, SOCK_STREAM)
hostname = '192.168.100.100'
port = 1973
s.connect((hostname, port))
code = chr(203) + chr(214) + chr(201) + chr(198) + chr(001)
stationid = '30';
s.send(code + 'TEST LINUX');
this will connect to a Server program I'm create on WinXP Computer
But got :
>>> import client
>>> client.init()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "client.py", line 8, in init
s.connect((hostname, port))
File "<string>", line 1, in connect
socket.error: (111, 'Connection refused')
>>>
Trying to ping the server 192.168.100.100, it replies nicely
Already input port 1973 from all computers on both firewall inbound and outbound.
Even trying to disable or turn off both computer firewall
But still it the same 111, connection refuse

Trying telnet 192.168.100.100 1973 the same refused
What is wrong ?
Thank You