Im trying to learn Java to make games in. I decided to take a detour and try a chat room, using client-server style class''.
My question is:
How do i run the server class at home and on the net? I understand that the client cannot connect to the server without it running. Anyone?
Also when setting it up on the net, my URL is www.dreamwater.com/eqs . What would the URL be in the client software??
I think i didnt say it right though. If you were creating a chat, how would you test it?? The book says to run the Server class before trying to log in with the client software. Unfortunately, the book dosent say HOW to start the server going. Do i just put it on a web page and load the page??
Anyone, please help. Times short before college ruins the fun again.
I believe SiCrane had it right. Just do ''java [name of server program]'' to get the server running. You need that running all the time. Then you would put the client app on a web page and tell the client program where the server is running (i.e. your static IP address and port #).