Enquiring Mind
2008-07-21 11:15:16 UTC
Hi,
I have just written a socket-based client-server pair of programs, called
ProjectServerA and ProjectClientA. They work fine on the same computer using
'localhost' for the RemoteHost of the client socket component, and '1002'
for the port number. I have now tried running the 2 programs on 2 computers
in my peer-to-peer home network, but cannot get the client program to
connect to the server program.
Both computers run under Windows XP Pro SP2. The computers are called
'Desktop01' and 'Laptop01', and use dynamic IP address allocation. I have
created an exception for port 1002 in the firewall of computer Desktop01,
and later did the same in the firewall of computer Laptop01 (though I am not
sure why this exception should be required in the client computer). I then
launch program ProjectServerA from the Shared folder, and start it
listening.
On computer Laptop01 if I type 'ping Desktop01' in the command prompt box, I
get a positive response, with an IP address for the Desktop01 computer, for
example '169.254.71.84'. If I launch program ProjectClientA on computer
Laptop01 and enter for the remote host name either 'Desktop01' or the IP
address given by ping, and try to connect, the connection fails. Similarly
if I type 'telnet Desktop01 1002' in the command prompt box, I get a
negative response.
Any ideas from network administration experts what further needs to be done
to get these 2 applications to talk to each other?
TIA
EM
I have just written a socket-based client-server pair of programs, called
ProjectServerA and ProjectClientA. They work fine on the same computer using
'localhost' for the RemoteHost of the client socket component, and '1002'
for the port number. I have now tried running the 2 programs on 2 computers
in my peer-to-peer home network, but cannot get the client program to
connect to the server program.
Both computers run under Windows XP Pro SP2. The computers are called
'Desktop01' and 'Laptop01', and use dynamic IP address allocation. I have
created an exception for port 1002 in the firewall of computer Desktop01,
and later did the same in the firewall of computer Laptop01 (though I am not
sure why this exception should be required in the client computer). I then
launch program ProjectServerA from the Shared folder, and start it
listening.
On computer Laptop01 if I type 'ping Desktop01' in the command prompt box, I
get a positive response, with an IP address for the Desktop01 computer, for
example '169.254.71.84'. If I launch program ProjectClientA on computer
Laptop01 and enter for the remote host name either 'Desktop01' or the IP
address given by ping, and try to connect, the connection fails. Similarly
if I type 'telnet Desktop01 1002' in the command prompt box, I get a
negative response.
Any ideas from network administration experts what further needs to be done
to get these 2 applications to talk to each other?
TIA
EM