I developed a client/server simulation application. I deployed client and server on two different Windows XP machines. Somehow, the client is not able to send requests to the server.
I tried below options:
1. Pinged server machine successfully from client using ipaddress.
2. Pinged client machine successfully from server using ipaddress.
3. Checked netstat command line tool from both machines. server is in LISTENING mode and client is in SYS_SENT mode. But the foreign address it is using to send is host name not the ip address.
4. Pinged server machine unsuccessfully using host name from client.
5. Pinged client machine successfully using host name from server.
I feel the problem is when the client is trying to connect to the server using the host name.
Could you please let me know how to force an applicaiton to use ip address instead of host name? Is there anyway other map to map the host name to an ip address?