Telnet fail | Unix Linux Forums | Linux

  Go Back    


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

Telnet fail

Linux


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-11-2013
mehrdad68 mehrdad68 is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 27 September 2013, 6:09 AM EDT
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Telnet fail

Hi,
I try to telnet to server:

[root@myserver ~]# telnet xx.xxx.1.72 1521
Trying xx.xxx.1.72...
telnet: connect to address xx.xxx.1.72: Connection refused
telnet: Unable to connect to remote host: Connection refused

iptables is off:

[root@myserver ~]# service iptables status
Firewall is stopped.
[root@myserver ~]#

And I have edit /etc/xinetd.d/telnetd and changed disable to no and restart "/etc/rc.d/init.d/xinetd restart".

[root@myserver ~]# netstat --numeric-ports -l | grep 1521
tcp 0 0 myserver.krb5.dax.net:1521 *:* LISTEN
[root@myserver ~]#

any idia?

Kind Regards
Me
Sponsored Links
    #2  
Old 02-11-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 21 November 2014, 7:36 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,522
Thanks: 8
Thanked 555 Times in 532 Posts
Are you telnet'ing to the same host you are on? For two hosts, there is the local firewall, any intermediate firewall, any remote firewall, and the listener there. Does the IP exactly match the host name on both client and server DNS/hosts (usually you listen on 0.0.0.0 for all IPs, like 127.0.0.1 even if one NIC)?
Sponsored Links
    #3  
Old 04-11-2013
versd versd is offline
Registered User
 
Join Date: Apr 2013
Last Activity: 27 May 2013, 11:25 AM EDT
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
check tcpwrappers hosts.deny/allow files.
    #4  
Old 04-11-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 21 November 2014, 7:36 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,522
Thanks: 8
Thanked 555 Times in 532 Posts
Usually if someone is denying, they are logging . . . .
Sponsored Links
    #5  
Old 04-17-2013
Sod's Avatar
Sod Sod is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 15 May 2014, 4:57 AM EDT
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Try telnet to some other common ports in that server and check whether able to connect.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Difference Between Krb5-telnet And Ekrb5-telnet kashifsd17 UNIX for Dummies Questions & Answers 0 07-27-2012 02:47 AM
Automatically login in the telnet from present telnet Prateek UNIX for Dummies Questions & Answers 2 07-05-2011 11:31 AM
en0 fail to up. wingcross AIX 8 05-28-2011 03:23 PM
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 01:35 AM
fail to telnet localhost 106 satimis Ubuntu 22 12-16-2007 10:54 PM



All times are GMT -4. The time now is 04:05 AM.