When you connect to Tomcat, you cannot enter it again after you enter telnet localhost 8080

Source: Internet
Author: User
Tags apache tomcat

When you first touch a server, you typically create a local mini-server that is used today when you use Apache Tomcat to access a custom resource under WebApps in the server under command line: first open a command-line window and enter telnet localhost 8080, pop-up another interface, but there are the following phenomena can not be entered,

At first I thought it was the local echo function did not open, and then according to the online prompt, opened the Echo function, but the problem still exists, later, found a solution:

In the new command-line window, after you enter telnet localhost 8080, press CTRL +] (two keys in English), and then press ENTER, the input is displayed.

Add: After entering get/myapp/1.html http/1.1, hit Enter, then enter host:
At this point, you have to tap the two times to get the requested data.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.