Find the answer to your Linux question:
Results 1 to 4 of 4
Hello Experts, i am a new person for this forum. my name is kumar and working as a Sr database administrator. now i am doing some R&D on 11g RMAN ...
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Location
    san diego
    Posts
    2

    telnet <IP> is giving Unable to connect to remote host: Connection refused

    Hello Experts,

    i am a new person for this forum. my name is kumar and working as a Sr database administrator.

    now i am doing some R&D on 11g RMAN in oracle at home.

    i have installed oracle enterprise linux and i have installed oracle software. when i am trying to configure listener, it is error-ed out.

    i have verified that telnet with the port is not working and i am seeing connection refused error.

    i have checked in the google and i was not able to find the problem and fix the problem.

    could you please help me out to fix this problem.

    please find the attachment for error message. some how i was not able paste the error message with the [CODE] tag
    Attached Files Attached Files

  2. #2
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228
    If I remember correctly when you get a 'connection refused' error it means nothing is listening on the port you're connecting to. In your example you didn't specify a port so it defaulted to port 23. That would mean that the telnetd daemon isn't running on that system.

    Other possibility is that the Linux firewall (iptables) isn't allowing incoming connections on that port but I think the error message is different.

  3. #3
    Just Joined!
    Join Date
    Nov 2010
    Location
    san diego
    Posts
    2
    Thank you so much for helping me.

    i have checked, telnetd daemon is running. i am also suspecting that firewall is not allowing the connection. but i have disabled the firewall while installing the software. not sure what is causing the problem.
    is there any way to check if firewall is not allowing incoming connection?

    Thanks
    Jyothi

  4. #4
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228
    The way I've made sure it's not the firewall is to shut it down and then test.

    Code:
    # /etc/init.d/iptables stop
    If it works after shutting it down then you know you'll have to add an entry in /etc/sysconfig/iptables to open the port for incoming connections.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...