Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

how to connect client on one machine with server

Mon Apr 23, 2012 3:34 pm

i have made a program in java. when the client and server are one machine they communicate very well.but when i tried to connect with server as a client from other machine...i have provided the ip address pf the server machine also... i have connected both computers using lan wire. but it gives an exception ..says either the ip address is not valia or port is not valid on remote machine ...please please please help me..as soon as possible



Re: how to connect client on one machine with server

Mon Apr 30, 2012 7:32 pm

I also think about this question :confused:

Re: how to connect client on one machine with server

Tue May 08, 2012 7:05 pm

Dear pooja13singh,

Please check first that your machine has an access to the other machine , from your cmd , type "ping ip" . If yes ,

Please make sure that your are using the same java NIO classes as in the following chat program .
finished-projects/java-chat-t644.html

Post a reply
  Related Posts  to : how to connect client on one machine with server
 clients cannot connect to server on another machine     -  
 HELP CONNECT SQL SERVER 2005 WITH PHP 5.2.6     -  
 How to Connect to MySql Server     -  
 client server client     -  
 FTP Server and FTP Client     -  
 UDP server and UDP client (J2SE)     -  
 client server problem     -  
 need java client/server code     -  
 Client-Server Forum discussion     -  
 RMI EXAMPLE FOR CLIENT SERVER ARCHITECTURE CODE ?????     -