简体   繁体   English

Telnet到我的ec2实例上的特定端口

[英]Telnet to a specific port on my ec2 instance

I need to telnet to my ec2 instance on port 2222 . 我需要通过端口2222 telnet到我的ec2实例。 I have included it in the security groups with source as Anywhere and Custom TCP Rule . 我已经将其包含在安全组中,其来源为AnywhereCustom TCP Rule It is a 64 bit Linux Machine. 这是一台64位Linux机器。 I am able to connect via port 22 but when I try with 2222 , it shows telnet: Unable to connect to remote host: Connection refused . 我可以通过端口22进行连接,但是当我尝试使用2222 ,它显示telnet: Unable to connect to remote host: Connection refused Also I need to skip the login/password prompt if connected successfully. 如果连接成功,我还需要跳过登录/密码提示。

尝试在其配置文件中更改Telnet服务器正在侦听的端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM