title: how to launch java socket-server on remote server
body: <p>OK, I'm new to server-client applications, and i need some basic information, so forgive me if my question is not clear...</p>
  
  <p>I want to make a chat application that would function like this:</p>
  
  <p>Client A sends information to server, server sends the same information to client B, and vice versa... Think of it as of a simple chat program.</p>
  
  <p>All communication is done through sockets, so i would have a server socket application, and a client socket application... I want my client application to be on my PCs and server application to be on a remote server ( it would be hosted on some free hosting websites).</p>
  
  <p>My question is how do I start that server application on that remote server?</p>
  
  <p>Thanks in advance!</p>