0

I've created a new AWS server (Windows 2012 R2) and I'm not able to login into the server using telnet, as shown below. I've included screen shots as shown below to assist. I'm not sure what else I've missed? I've tried it locally and that works using the ftpuser I've defined.

Any help greatly appreciated.

Thanks,

FTP firewall settings

enter image description here

Ping works

enter image description here

I get the following error when trying to connect from other machine

Error message

enter image description here

AWS security group settings

enter image description here

IIS settings

enter image description here

Update #1 - added TCP port 23 rule in AWS

enter image description here

Update #2 - checked FTP server is installed

enter image description here

Update #3 - Have installed telnet server

enter image description here

2
  • 1
    Sorry, not trying to get off topic. But, you are using telnet on the internal network only, not over the Internet, is that correct? Also you are aware that it is an insecure protocol (that includes ftp as well). From a security standpoint, it is not a good option to use. Anyone with a sniffer can see all the data flowing in plain text.
    – yetdot
    Jul 29, 2016 at 12:18
  • 1
    I can think of NO valid reason to enable a Telnet server on an EC2 instance under any circumstances. You really need to take a step back and explain what you are trying to accomplish by enabling Telnet. No matter what you are trying to do, there's a correct way to do it.
    – Skyhawk
    Jul 29, 2016 at 18:09

2 Answers 2

3

The line you highlight in your AWS security group is for ICMP. You will need to add an entry into your security group for the telnet port TCP/23.

You'll also need to have something listening (a telnet server) on your host.

9
  • Thanks for helping, I've added a custom TCP rule on port 23, as shown in my updated question but I still can't connect to it. Jul 29, 2016 at 10:33
  • @JamesRadford Do you have a telnet service running? Jul 29, 2016 at 10:34
  • believe so, please see my updated screen shot Jul 29, 2016 at 10:38
  • is it a firewall problem as I can remote desktop onto the server and ftp with localhost? Jul 29, 2016 at 10:47
  • 1
    Telnet isn't FTP. Port 23 isn't FTP.
    – joeqwerty
    Jul 29, 2016 at 14:57
0

thanks to all the comments, after all the great help to get telnet up and working you need to check/ setup the following:

  • enable tcp port 23 on AWS
  • check on the AWS server the Telnet server is running (you might need to enable it services.msc)
  • create a ftp website in IIS and create/ assign a user for telneting.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .