LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-26-2012, 08:59 PM   #1
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Rep: Reputation: 1
Question Can not telent to 6730 port. Please guide


Hi all,

I am not able to telnet from one system to another.

say from system1 to system2
However i am able to do

telnet system2 1521

but I am not able to do

telnet system2 6730 &
telnet system2 6731 &
telnet system2 6732

some other onformation:
system1:root(/root)# rpm -qa | grep telnet
telnet-0.17-39.el5
system1:root(/root)# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
System2:root(/root)# rpm -qa | grep telnet
telnet-0.17-39.el5
system2:root(/root)# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

telnet-server not installed on both system1 and system2


see below error
system1:root(/root)# telnet system2 6732
Trying 10.19.37.13...
telnet: connect to address 10.19.37.13: Connection refused
telnet: Unable to connect to remote host: Connection refused



However firewall on both sytem1 and system 2 are stopped.

Please advice.
Thanks in advance
 
Old 03-26-2012, 09:13 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
How do you expect to connect to another systems telnet server without installing and configuring it?
 
1 members found this post helpful.
Old 03-26-2012, 09:30 PM   #3
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Original Poster
Rep: Reputation: 1
Thanks for reply!

But I am able to telnet to another system (system2 from system1) on port 1521 without installing "telnet-server" packege

see

system1:root(/root)# telnet system2 1521
Trying 10.19.37.13...
Connected to system2.quick.com (10.19.37.13).
Escape character is '^]'.

Do I have to do with /etc/xinetd.conf file?
We need to connect database on this port.

Please suggest.

Thanks.

Last edited by manalisharmabe; 03-26-2012 at 09:36 PM.
 
Old 03-26-2012, 09:41 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Telnet will connect to any service, not just telnet servers. If there is any other service listening on port 1521 then telnet will connect to it. That doesn't mean that automatically on every free port on the system a telnet server is listening. Would be a rather frightening scenario.

By the way, I would recommend to not use telnet at all (except for some special debug cases), it is deprecated and insecure.

Last edited by TobiSGD; 03-26-2012 at 09:42 PM.
 
1 members found this post helpful.
Old 03-26-2012, 09:52 PM   #5
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Original Poster
Rep: Reputation: 1
Thanks for the Update.

Actually
I am not able to connect databases database1 (port no=6731), databse2 (port no=6731), VMdatabe3 (port no=6730), QAjki8 (port no=6732) on system2 server from system1. I was able to connect on port 1521 but not on other ports.

So how do I open these port,
In short How can make

system1]telnet system2 6730

(Currently it is showing connection refused)

work?

Thanks.
 
Old 03-26-2012, 10:30 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
What do you want to achieve, connecting two systems with telnet, having a database listening on a port or something else?
Without describing what you want to achieve exactly nobody will be able to help you.
 
Old 03-26-2012, 10:50 PM   #7
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Original Poster
Rep: Reputation: 1
Wait! I will update now!
 
Old 03-26-2012, 11:08 PM   #8
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Original Poster
Rep: Reputation: 1
A DBA wants to connect to a databse listening on the port 6730 from system1 to system2, which is getting refused.
I want to enable this.

Thanks
 
Old 03-26-2012, 11:13 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Then I would think that this is an issue of configuring the database. Since I don't know much about that topic I hope that a knowledgeable member steps in here to help. In the meantime it will help if you provide as much information as may be needed (starting with which database in which version you are using). It also may help to change the thread title to something like "Can't connect to databse" or similar.
 
1 members found this post helpful.
Old 03-26-2012, 11:38 PM   #10
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TobiSGD View Post
Then I would think that this is an issue of configuring the database. Since I don't know much about that topic I hope that a knowledgeable member steps in here to help. In the meantime it will help if you provide as much information as may be needed (starting with which database in which version you are using). It also may help to change the thread title to something like "Can't connect to databse" or similar.
I wish I was DBA too.
 
Old 03-26-2012, 11:47 PM   #11
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Original Poster
Rep: Reputation: 1
I have another system say system3 from which I am able to telnet to system 2 on 6730 port.

So what could the possible difference between system1 and system3,

Where can I find out the difference?

Thanks.
 
Old 03-27-2012, 01:10 AM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
In that case, it sounds like the Database listener on system2 is refusing the cxn; you'll need the DBA to go through the cfgs (pref on both systems 2 & 3) to check.
 
1 members found this post helpful.
Old 03-27-2012, 10:43 PM   #13
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Original Poster
Rep: Reputation: 1
No it's Network firewall issue. Network firewall was blocking those ports.
Issue is solved now.


Thanks Guys!
 
Old 03-28-2012, 05:52 AM   #14
khurshiditra
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
No one can give accurate Answer for Telnet problem.

Last edited by khurshiditra; 03-28-2012 at 05:53 AM.
 
Old 03-28-2012, 08:03 PM   #15
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Please re-read post #13; it was a firewall issue after all, not telnet ...

If you have a telnet question, please start a new thread.
 
  


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
Please Guide. How to NAT and Port forward? manalisharmabe Linux - Server 1 03-05-2012 09:57 AM
alternatives to telent casperdaghost Linux - Newbie 1 10-23-2009 10:04 PM
[SOLVED] not able to telent by user other than root here4linux Linux - General 3 08-08-2008 10:54 AM
ssh or telent auto login prashant_1012 Programming 1 11-22-2005 01:12 PM
telent ttumelty Linux - Networking 4 11-10-2005 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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