Total members 11890 |It is currently Tue Apr 23, 2024 1:51 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Hello
I have written server/client programs in java. When i 'm executing my server and client on the same machine then , my client program can easily be connected to the server on the same machine , but when Server is running on one machine and client on another machine , client cannot connect to the server and creates an Exception that "No route to host".
I've tried with disabling the firewall and changing the port , but still the problem persists.

Anybody suggestions are welcomed...




Author:
Newbie
User avatar Posts: 2
Have thanks: 1 time

For this message the author javamuggers has received gratitude : DrRakha

can you ping it from your cmd ,
This project should works with you:
finished-projects/java-chat-t644-20.html

_________________
Sami
PHD student - SAIL - School Of Computing
Queens' University
Canada


Author:
Site Admin
User avatar Posts: 33
Have thanks: 1 time

The problem is solved ....
Actually there was a problem with SE Linux Management enabled in Fedora 13 on which the server is running and because that property enabled, it wasn't allowing the clients to connect to the server....
But when I disabled the System Default Enforcing Mode in SE Linux Management , clients can easily be connected...............

Thanks for all the suggestions
:grin:


Author:
Newbie
User avatar Posts: 2
Have thanks: 1 time
Post new topic Reply to topic  [ 3 posts ] 

  Related Posts  to : clients cannot connect to server on another machine
 how to connect client on one machine with server     -  
 Need Help for Java Chat - one server multiple clients..     -  
 HELP CONNECT SQL SERVER 2005 WITH PHP 5.2.6     -  
 How to Connect to MySql Server     -  
 How to connect two computers and connect them with Internet?     -  
 Rotar Machine     -  
 Rotor Machine Java     -  
 machine learning java libraries     -  
 Support Vector Machine coding on Matlab...     -  
 Applet Dice Game Fruit Machine simulation     -  



cron





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