Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am new to java and developed a client server application which is working fine on my local machine ie i am running server on my machine by using loop back address 127.0.0.1, but the server actually will run on a machine with a IP address in USA and client will be in INDIA i am having some anxiety whether my programm will run or not, Please share your experience with me.

THANKS IN ADVANCE
Posted
Comments
Richard MacCutchan 5-Apr-12 12:38pm    
Assuming that there is an open connection between the server and client then it should run fine. however if either IP address is blocked by firewall rules then it will not.

1 solution

You won't have problem wherever the server socket be accesible from your client over TCP (unless network falldown, but only Chuck Norris can avoid it ;) ).
The most common error is to make server app work behind a Dynamic IP router, each time the router is resetted there's a new IP for your connection; so the best option is to use a dynamic Domain Name Service (DNS) solver usable with your router as an integrated service on almost all routers, for example www.dyndns.org, so your client will point allways to your server socket whenever it be resetted.
If you need more info, please ask it !!!!

Good Luck !
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900