Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Disable the Tomcat shutdown port.
<Server port=”-1” command=”SHUTDOWN”>

This comment has been minimized.

Copy link

commented Mar 22, 2017

Nice! Quick, easy and simple.

In newer versions of Tomcat, the code would be:

<Server port="-1" shutdown="SHUTDOWN">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.