LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-09-2008, 04:18 AM   #1
montylee
Member
 
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168

Rep: Reputation: 30
Question Strange problem with Fedora


I have a strange problem with Fedora.

I created a socket program with client and server. Now when i use Red Hat 9 machine as a server and Fedora Core 9 as a client, i am able to connect from the client (Fedora Core 9) to the server (RHL 9), but when i do the opposite i.e. use FC 9 as a server i am unable to connect to the server.

I get this error:
telnet: connect to address 10.112.37.54: No route to host

Here 10.112.37.54 is the IP of the FC9 machine on my network.


The above problem can be reproduced by running this program:
http://beej.us/guide/bgnet/examples/selectserver.c

run it on the FC 9 machine (i even tested it on FC4, still same problem), and then from any other machine write this:
telnet 10.112.37.54 9034

here 10.112.37.54 is the IP of the FC machine. After this, the following error message appears:
telnet: connect to address 10.112.37.54: No route to host


Can anybody help me with this?
 
Old 07-09-2008, 08:51 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,352

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
'No route..' prob means there's no entry in the /etc/hosts file on the 'client' to tell it about that machine, or there's no DNS server.
Can you ping it?
Also, by default, in modern distros like Fedora, telnetd (the server) is disabled for security reasons.
See directory /etc/xinetd.d
 
Old 07-10-2008, 08:11 AM   #3
montylee
Member
 
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168

Original Poster
Rep: Reputation: 30
i don't think there's any problem in the client. The problem is when i use FC9 machine as a server. And there's no need of any DNS entry as i am directly giving the IP. I can ping the machines.

I don't have telnetd installed on my FC9 machine but the problem is not only with this telnet program. The problem comes when i use sockets and try to use FC9 as a server. The clients are not able to connect to my FC9 server.

I have disabled SE Linux and disabled the Firewall still the problem persists. I faced similar problems in FC4 too. I think this issue comes only with Fedora as i am able to use Ubuntu as a server on my LAN.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem in Fedora with Wireless card..Please help vikramkone Linux - Wireless Networking 1 11-24-2007 06:09 PM
Fedora Internet strange problem Nanlin Linux - Networking 2 06-16-2006 01:20 PM
Fedora strange internet problem Nanlin Linux - Software 2 06-16-2006 09:18 AM
Fedora strange internet problem Nanlin Linux - General 0 06-16-2006 01:34 AM
fedora 2 and firegate - strange problem traveller888 Linux - Networking 1 11-18-2004 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration