Disable Tomcat directly for Telnet without verification. tomcat is not required for telnet.

Source: Internet
Author: User

Disable Tomcat directly for Telnet without verification. tomcat is not required for telnet.

/*** Telnet directly closes the Tomcat * ---------------------------------------------------------------------------------------------------------------------- * Tomcat configuration file server without verification. there is such a line in xml: <Server port = "8005" shutdown = "SHUTDOWN"> * Looking At the inconspicuous, It is a security risk (without a firewall) * It is used by anyone to telnet port 8005 of the Tomcat server, input "SHUTDOWN" (case sensitive), and press Enter, tomcat is immediately shut down * shut *. In terms of security, you can replace the shutdown value with a string that is not easy to guess, or directly change the port value to-1 * Export * @ create Sep 27,201 4 6:10:49 * @ author Xuan Yu 

Tomcat Shutdown

It may be displayed in another console view. One console view has multiple view pages and has a drop-down list in the upper right corner. Including the CVS Console, SVN Console, and Java Stack Trace. Check whether your tomcat is available.

In addition, if any message is displayed in the log file under the tomcat directory after stopping tomcat from MyEclipse? This log directory may be in the tomcat installation directory or a subdirectory of the workspace.

How to disable tomcat

For windows, run shutdown. bat in the bin folder under the tomcat root directory.
For linux, run shutdown. sh in the bin folder under the tomcat root directory.

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.