M BUZZ CRAZE NEWS
// news

telnet: connect to address 92.205.28.224: Connection refused

By Gabriel Cooper

I need telnet 92.205.28.224 587 to not get connection refused

I see telnet is an active service and port 587 is active on firewall. I also see 587 is open in the picture below.

services: dhcp dhcpv6-client http https imap imaps pop3 pop3s smtp smtps ssh telnet
ports: 25/tcp 80/tcp 2224/tcp 587/tcp 8443/tcp

To make port listener

netstat -an1p |grep 587

To confirm port is listening

[root@buaidhnobas ~]# netstat -anlp |grep 587 tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 21018/nc tcp6 0 0 :::587 :::* LISTEN 21018/nc 

enter image description here

Now I should be able to telnet to 92.205.22.224 which is the problem I am trying to solve.

[Neptune@orcacomputers-com ~]$ telnet 92.205.28.224 587
Trying 92.205.28.224...
telnet: connect to address 92.205.28.224: Connection refused

So "something" is still blocking the port? I see telnet as an active service and port 587. So the port is open indeed.

 services: dhcp dhcpv6-client http https imap imaps pop3 pop3s smtp smtps ssh telnet ports: 7689/tcp 25/tcp 588/tcp 80/tcp 143/tcp 993/tcp 443/tcp 2224/tcp 587/tcp 8443/tcp

Iptables turned off

[root@buaidhnobas ~]# service iptables status
Redirecting to /bin/systemctl status iptables.service
Unit iptables.service could not be found.

Restart NetworkManager and attempt to telnet

[root@buaidhnobas ~]# telnet 24.149.185.150 587
Trying 24.149.185.150...
telnet: connect to address 24.149.185.150: Connection timed out

Unable to telnet out

[root@buaidhnobas ~]# telnet 24.149.185.150 587
Trying 24.149.185.150...
telnet: connect to address 24.149.185.150: Connection timed out

Unable to telnet in,

[Neptune@orcacomputers-com ~]$ telnet 92.205.28.224 587
Trying 92.205.28.224...
telnet: connect to address 92.205.28.224: Connection refused

Show ip tables eventhough iptables are turned off.

[root@buaidhnobas ~]# sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
INPUT_direct all -- anywhere anywhere
INPUT_ZONES_SOURCE all -- anywhere anywhere
INPUT_ZONES all -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
FORWARD_direct all -- anywhere anywhere
FORWARD_IN_ZONES_SOURCE all -- anywhere anywhere
FORWARD_IN_ZONES all -- anywhere anywhere
FORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere
FORWARD_OUT_ZONES all -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
OUTPUT_direct all -- anywhere anywhere
Chain FORWARD_IN_ZONES (1 references)
target prot opt source destination
FWDI_public all -- anywhere anywhere [goto]
FWDI_public all -- anywhere anywhere [goto]
FWDI_public all -- anywhere anywhere [goto]
Chain FORWARD_IN_ZONES_SOURCE (1 references)
target prot opt source destination
Chain FORWARD_OUT_ZONES (1 references)
target prot opt source destination
FWDO_public all -- anywhere anywhere [goto]
FWDO_public all -- anywhere anywhere [goto]
FWDO_public all -- anywhere anywhere [goto]
Chain FORWARD_OUT_ZONES_SOURCE (1 references)
target prot opt source destination
Chain FORWARD_direct (1 references)
target prot opt source destination
Chain FWDI_public (3 references)
target prot opt source destination
FWDI_public_log all -- anywhere anywhere
FWDI_public_deny all -- anywhere anywhere
FWDI_public_allow all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
Chain FWDI_public_allow (1 references)
target prot opt source destination
Chain FWDI_public_deny (1 references)
target prot opt source destination
Chain FWDI_public_log (1 references)
target prot opt source destination
Chain FWDO_public (3 references)
target prot opt source destination
FWDO_public_log all -- anywhere anywhere
FWDO_public_deny all -- anywhere anywhere
FWDO_public_allow all -- anywhere anywhere
Chain FWDO_public_allow (1 references)
target prot opt source destination
Chain FWDO_public_deny (1 references)
target prot opt source destination
Chain FWDO_public_log (1 references)
target prot opt source destination
Chain INPUT_ZONES (1 references)
target prot opt source destination
IN_public all -- anywhere anywhere [goto]
IN_public all -- anywhere anywhere [goto]
IN_public all -- anywhere anywhere [goto]
Chain INPUT_ZONES_SOURCE (1 references)
target prot opt source destination
Chain INPUT_direct (1 references)
target prot opt source destination
Chain IN_public (3 references)
target prot opt source destination
IN_public_log all -- anywhere anywhere
IN_public_deny all -- anywhere anywhere
IN_public_allow all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
Chain IN_public_allow (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:http ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:https ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:imap ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:imaps ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:urd ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3 ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3s ctstate NEW,UNTRACKED
ACCEPT udp -- anywhere anywhere udp dpt:bootps ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:collaber ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:cal ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:http ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:imap ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:imaps ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:https ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:efi-mg ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:submission ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:pcsync-https ctstate NEW,UNTRACKED
ACCEPT tcp -- anywhere anywhere tcp dpt:telnet ctstate NEW,UNTRACKED
Chain IN_public_deny (1 references)
target prot opt source destination
Chain IN_public_log (1 references)
target prot opt source destination
Chain OUTPUT_direct (1 references)
target prot opt source destination 

What am I missing or not seeing? Both machines are RHEL

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy