• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client window opening in Server Machine..!

 
Dheeraj Pareek
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have made a multithreaded chat application and integrated it in a web application. It's working fine if I run the chat Server and the Web Application clients on the same machine.
but, when I run the server on a separate machine and calls the Chat Client from other machine, the chat window is opening on the Server side, not at the client side.
I' am unable to find the problem, where I have missed something..
Please help..!!
 
Rob Spoor
Sheriff
Pie
Posts: 20494
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Any code you run in the server application will run on the server machine. Any code you run in the client application will run on the client machine. It looks like you're opening the chat window in your server application, but you should open it in your client application. Can you perhaps show us a small bit of code to show if my guess is correct?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic