unix host actively refused the connection attempt


 
Thread Tools Search this Thread
Operating Systems AIX unix host actively refused the connection attempt
# 15  
Old 10-21-2009
We have tried other normal users first, without a joy we tried root as this is a super account.
We tried installing the audit software on an other PC again with the same probleme.
Tried with SSh and without, same error.
# 16  
Old 10-21-2009
Ok, time to start some serious debugging:

Where could the error be?
a) your PC - we are simply not qualified to help you there, please refer to the PC part of the forum

b) the server you try to contact

b1) ssh communication is somehow not possible:

Try to log in to the host in question with ssh. Install some ssh (putty for example) on a pc and use it to connect to the server. If you get to a login prompt asking for user name and password everything is ok.

b2) communication is not possible because of wrong user credentials

I saw on your picture you can change the port and the means of communication. Uncheck ssh and change the port to 20 (which is telnet - you said you can reach the host via telnet) and try again. Does the error go away this way?

b3) root user is not allowed to log in

It is a common security measure to disallow the root user to log in from outside. (users have to log in with their personal account and then switch to root.) I see from your picture that you use the root user. Try to log in using putty (or any other securified terminal emulator) as root user with the same password you used in the screen. If you can log in this way you have proven that this is not the problem.

Ok, so far my ideas. I hope they help.

bakunin
# 17  
Old 10-21-2009
As bakunin says but please forgive my colleagues mistake.

Uncheck ssh and change the port to 23 (which is telnet - 20 is for FTP)

D.
# 18  
Old 10-22-2009
oops, you are right, dukessd - my bad, sorry. One shouldn't write posts before having had enough coffee to fire up the debugging engine.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Failed SSL Connection Attempt

The below error message I started seeing using Ubuntu 14.04 and was wondering if the forum has seen it because I cant seem much on the net for this: perl -e 'use IO::Socket::SSL qw(debug3);IO::Socket::SSL->new(PeerAddr=>"10.0.0.100",PeerPort=> 443,Proto=>"TCP") or die $!' DEBUG:... (1 Reply)
Discussion started by: metallica1973
1 Replies

2. Shell Programming and Scripting

FTP connection refused

Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP . But i get error as "ftp: connect: Connection refused Not connected. Not connected." Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies

3. Debian

ftp connection refused

I have two computers running Debian 6.0 and one running Solaris 2.6 on a private network. The Debian computers can ftp to the Solaris computer but if a Debian computer is the destination the ftp connection is refused. I assume this is some security feature of Debian. What can I do to allow... (2 Replies)
Discussion started by: snorkack59
2 Replies

4. UNIX for Advanced & Expert Users

ftp connection refused

Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic. root@AB101# ftp -n 10.192.168.68 ftp: connect: A remote host refused an attempted connect operation. ftp> Thanks. (3 Replies)
Discussion started by: yanis
3 Replies

5. UNIX and Linux Applications

PSQLException: Connection refused

I dont' what happened with my servers (test servers only) but I just noticed that suddenly I cannot up the domain anymore (Sun Java System Application Server 9.1_01). a. server.log org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the... (1 Reply)
Discussion started by: lhareigh890
1 Replies

6. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

7. Programming

echo: Connection refused

OS : Solaris sparc In c program After socket created when I do Connect() it results "Connection refused", but the system is online and I am able to do telnet, ping everything, but it says connection refused. What would need to correct ? (6 Replies)
Discussion started by: satish@123
6 Replies

8. IP Networking

Connection refused

Hi there, Anything will help. I have running server on computer and want to connect from some clients. Server: memset(&hints, 0, sizeof(hints)); hints.ai_family = domain; hints.ai_socktype = SOCK_STREAM; error = getaddrinfo("localhost", "8300", &hints, &res0); if (error) { ... (1 Reply)
Discussion started by: Dudu1984
1 Replies

9. Shell Programming and Scripting

Connection refused to ftp from a unix server to a windows pc

I need your help please. In order to run a script after a ftp connection, ive got initially this problem: from unix pc machine to a Unix server i could ftp succesfully but in reverse (i mean from unix to pc machine i cant ftp. The error message is this ftp 192.168.29.90 ftp: connect: Connection... (1 Reply)
Discussion started by: alexcol
1 Replies

10. SCO

telnet connection refused

I installed Openserver 5.0.7 and I cannot telnet to the localhost and I can't telnet from my old SCO 3.2.42 to the new SCO machine but I can ping the new machine and it will telnet to the old machine. (2 Replies)
Discussion started by: printrick
2 Replies
Login or Register to Ask a Question