Chat program doubt
I have written a simple chat program in java socket(interface is java swing).It contains mainly two classes. One ChatServer and the other MultiClients.Locally I could run the ChatServer in one machine and MultiClients from different machines(using LAN). It works fine.
Here is my problem. I wish to run the program throug internet instead of local network. How can I run my server program(ChatServer) in a remote server(apache tomcat or else)?
For LAN I can go to the server machine and run the server program by using the command >>java ChatServer. But How can I run the server program that is located in a remote server? And also the server program should run continuesly.
A user can download Client program (MultiClients) from a website
and install in his/her machine.
Please help me.
Thanking in advance.