Telnet connection closed
while connecting on specific port using telnet its get failing with error ForbiddenConnection closed by foreign host.
while its working on localhost
root@li1693-237:~# telnet 23.92.22.113 57814
Trying 23.92.22.113…
Connected to 23.92.22.113.
Escape character is '^]'.
HTTP/1.1 403 Forbidden
Date: Mon, 10 Dec 2018 06:21:36 +0000
Connection: close
Content-Length: 9
Content-Type: text/plain
Server: fantasygold-json-rpc/v1.2.7.0-1f19927-dirty
ForbiddenConnection closed by foreign host.
1 Reply
Greetings @conflicker,
I ran a scan of your Linode and saw that there was no port listening on 57814. However, I did see one for SSH and was able to connect with telnet for that port.
$ telnet 23.92.22.113 [redacted-ssh-port]
Trying 23.92.22.113...
Connected to 23.92.22.113.
You'll most likely need to adjust your iptables formula and make sure the service assigned to port 57814 is 'active'.
https://www.linode.com/docs/security/firewalls/control-network-traffic-with-iptables/
http://ipset.netfilter.org/iptables.man.html
Let me know if have any questions on that. Be sure to @ my username so I get pinged on your response.