LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   telnet: connect to address ::1: Connection refused (https://www.linuxquestions.org/questions/linux-enterprise-47/telnet-connect-to-address-1-connection-refused-948474/)

kahafil 06-04-2012 11:57 AM

telnet: connect to address ::1: Connection refused
 
Hi!

I've configured vqadmin & qmailadmin on CentOS6. When I try to check smtp port with telnet command then the following is hapen.


[root@proxy ~]# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root@proxy ~]#

My selinux is disabled & firewall is off. I'd love to get help from any corner.

Thank you,
Kahafil Ora

pupok 06-04-2012 12:14 PM

Where's problem?
 
Looks like your telnet client starts by trying IPv6 localhost address first and IPv4 localhost afterwards. I'd take a look at /etc/hosts file and localhost aliases there. Or maybe
Code:

dig localhost
?


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