0
我需要通过端口2222
telnet到我的ec2实例。我已将它包含在安全组中,其源代码为Anywhere
和Custom TCP Rule
。它是一个64位的Linux机器。我可以通过端口22
连接,但是当我尝试2222
时,它显示telnet: Unable to connect to remote host: Connection refused
。如果连接成功,我还需要跳过登录/密码提示。Telnet到我的ec2实例上的特定端口
你的意思是/ etc/services? – Harshit
这取决于您正在运行的Linux发行版。检入'/ etc/inetd.conf'或'/ etc/xinetd.d/telnet' –