Go Back   The UNIX and Linux Forums > Operating Systems > Linux


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

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-11-2013
Registered User
 
Join Date: Jan 2009
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
Registered User
 
Join Date: Oct 2010
Location: Southern NJ, USA (Nord)
Posts: 3,941
Thanks: 8
Thanked 484 Times in 464 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
Registered User
 
Join Date: Apr 2013
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
check tcpwrappers hosts.deny/allow files.
    #4  
Old 04-11-2013
Registered User
 
Join Date: Oct 2010
Location: Southern NJ, USA (Nord)
Posts: 3,941
Thanks: 8
Thanked 484 Times in 464 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
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
Reply

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 01:47 AM
Automatically login in the telnet from present telnet Prateek UNIX for Dummies Questions & Answers 2 07-05-2011 10:31 AM
en0 fail to up. wingcross AIX 8 05-28-2011 02:23 PM
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 12:35 AM
fail to telnet localhost 106 satimis Ubuntu 22 12-16-2007 09:54 PM



All times are GMT -4. The time now is 11:03 AM.