即使HTTPS /端口443打开,也无法在ec2上进行telnet

时间:2011-12-12 01:28:37

标签: amazon-ec2 telnet

我的安全组在EC2上的设置

TCP
Port(Service) Source    Action
22 (SSH)    0.0.0.0/0   Delete
80 (HTTP)   0.0.0.0/0   Delete
443 (HTTPS) 0.0.0.0/0   Delete

输出:当我运行telnet时

JP$ telnet passionate4.net
Trying 50.18.159.124...
telnet: connect to address 50.18.159.124: Operation timed out
telnet: Unable to connect to remote host

在ubuntu ec2服务器上

ubuntu@ip-10-166-185-18:~$ sudo netstat -nup -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
udp        0      0 0.0.0.0:68              0.0.0.0:*                           400/dhclient3   

2 个答案:

答案 0 :(得分:2)

Telnet使用端口23,您的安全组中没有它。

答案 1 :(得分:0)

输入: JP $ telnet passionat4.net 80

80,443,3389,或者您正在测试的任何端口。

Windows示例: C:/> telnet www.google.com 80