Operating System - HP-UX
1752648 Members
5728 Online
108788 Solutions
New Discussion юеВ

telnet connection refused error

 
SOLVED
Go to solution
Shivkumar
Super Advisor

telnet connection refused error

Dear Sirs,

We are not able to connect to server using telnet, ssh and ftp. Getting connection refused errors.

What could be the issue ?
Appreciate any help.

Thanks,
Shiv
17 REPLIES 17
James R. Ferguson
Acclaimed Contributor
Solution

Re: telnet connection refused error

Hi Shiv:

At the console, try restarting 'inetd':

# inetd -c

Regards!

...JRF...
HGN
Honored Contributor

Re: telnet connection refused error

Hi

For telnet to work you need to check and make sure that in inetd.conf file telnet is not commented out, also check if inetd is running,you need to re-read the inetd.conf to make the changes effective.
For ssh not working have to check if the ssh daemon is running and the settings are correct in sshd_config file.

Rgds

HGN
rmueller58
Valued Contributor

Re: telnet connection refused error

Shiv,

go to the Console, check what your init status is.. should be init 3.

if the system has been running and active with these before sounds maybe something has ran amuk..

do a BDF make sure all volumes are mounted.

go into GSP and check the error logs

more /var/adm/syslog/syslog.log

You should see in the sys log if SSH is started..
Ivan Ferreira
Honored Contributor

Re: telnet connection refused error

Verify the status of the interfaces with ifconfig and netstat -ni. Check that you are receiving packages.

From the server can you ping other hosts?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Shivkumar
Super Advisor

Re: telnet connection refused error

Is there a way to login remotely without telnet ?

I mean we have root access to the box. Can we login and restart the inetd ?
Is GSM used for this ?

warm regards,
Shiv
Joseph Loo
Honored Contributor

Re: telnet connection refused error

hi,

if u r not getting any form of connections, i.e. telnet, ssh, ftp, http, https, etc, i do not suppose u will be able to login remotely.

thus, u have to proceed to the console and verify what exactly is happening to your server, network cards, connections, inetd not started, etc.

regards.
what you do not see does not mean you should not believe
Shivkumar
Super Advisor

Re: telnet connection refused error

Server is running applications fine. Only we can't connect through telnet, ssh and ftp.

What are the ways to access it now ?

warm regards,
Shiv
Bill Hassell
Honored Contributor

Re: telnet connection refused error

Standard HP-UX comes with telnet and ftp enabled, someone has disabled these functions. Let's start with the basics: Can a computer that is located on the same network (subnet) ping and telnet to the problem box? If so, your problem is with routers that have disabled communication to this box.

If local computers cannot connect to this box with telnet, it is possible someone has excluded a range of computers in /var/adm/inetd.sec so look at this file for deny statements.


Bill Hassell, sysadmin
Indira Aramandla
Honored Contributor

Re: telnet connection refused error

Hi Shivkumar,


Can you ping that server. Could it be a DNS names resolution. Did you try using the IP address.


IA

Never give up, Keep Trying