Total members 11895 |It is currently Tue Dec 03, 2024 6:35 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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




Author:

I also think about this question :confused:


Author:

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

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 3 posts ] 

  Related Posts  to : how to connect client on one machine with server
 clients cannot connect to server on another machine     -  
 How to Connect to MySql Server     -  
 HELP CONNECT SQL SERVER 2005 WITH PHP 5.2.6     -  
 client server client     -  
 FTP Server and FTP Client     -  
 client server problem     -  
 UDP server and UDP client (J2SE)     -  
 RMI EXAMPLE FOR CLIENT SERVER ARCHITECTURE CODE ?????     -  
 A Simple Client Server Multicasting     -  
 Client Server Mobile to PC Application     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com