Question subject: clients cannot connect to server on another machine
Posted: Sat Jun 12, 2010 4:49 pm
Joined: Sat Jun 12, 2010 2:51 pm Posts: 2 Has thanked: 0 time Have thanks: 0 time
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...
codemiles
Question subject: Re: clients cannot connect to server on another machine
Posted: Sat Jun 12, 2010 10:17 pm
Joined: Mon Mar 26, 2007 4:07 pm Posts: 25 Location: Earth Has thanked: 5 time Have thanks: 1 time
can you ping it from your cmd ,
_________________ just walk beside me ! and be my friend .
javamuggers
Question subject: Re: clients cannot connect to server on another machine
Posted: Sun Jun 13, 2010 11:02 am
Joined: Sat Jun 12, 2010 2:51 pm Posts: 2 Has thanked: 0 time Have thanks: 0 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...............