When I tried to change tomcat shut down port from 8005 to -1 and starting tomcat, it did not start and threw an "invalid port number" exception.
Is there any process for changing tomcat shutdown port to -1?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
From the docs:
The TCP/IP port number on which this server waits for a shutdown command. Set to -1 to disable the shutdown port.
So you can set the port value to -1 to disable the shutdown port; note, however, that this is merely a configuration setting of Tomcat as port numbers have positive integer values.