And just for fun, I searched Google for "tcp port 12345" and found this among 
others :

On 27.08.2019 16:09, Patrick Heinen wrote:
Thank you very much for your prompt and detailed feedback.

Unfortunately, there are no such entries in the "web.xml" files within 
"webapps". Logfiles do not show such entry either.
We therefore have to get in touch with the software vendor in order to address 

Thanks again.

-----Original Message-----
From: André Warnier (tomcat) []
Sent: Dienstag, 27. August 2019 15:43
Subject: Re: How change tomcat8.exe listening port to a different 

Addendum :

On 27.08.2019 15:23, André Warnier (tomcat) wrote:
On 27.08.2019 14:05, Patrick Heinen wrote:
Hi everyone,

In our Apache Tomcat 8.5.31 installation, Tomcat8.exe ist listening
on TCP port 12345, and we need to change this to a different port number..
Unfortunatley, we cannot find a way to change this since it is not
specified in server.xml or Java options. Does anybody know how this port can be 

For full details (server.xml etc.) see:

Short version : run tomcat8w.exe, and examine the various tabs to see
if you find your port 12345 somewhere there (maybe the JVM is
listening for JMX or so).  Otherwise, it must be (also) an application which 
tomcat is running, which opens its own port 12345).

Long version : read
to find out what tomcat8.exe and tomcat8w.exe really are.

short version of the long version :
server.xml shows the ports on which /tomcat itself/ is listening.
But tomcat8.exe is not "tomcat". It is a wrapper program, which runs
the JVM which runs tomcat, which runs applications. The JVM itself,
and the applications, may open ports, without tomcat even knowing about them.

Let us know if that helps.

If you need to go dow to the tomcat applications level :
Under the tomcat top directory, there is a sub-directory "webapps" containing 
the applications that run under tomcat.  Each of those webapps corresponds to a sub 
-directory of tomcat-dir/webapps/.
Under each of these sub-directories, there should be a sub-directory named "WEB-INF", 
which contains a file "web.xml" specific to this application. If the application opens 
any TCP port by itself, chances are that it is mentioned as a parameter in that web.xml file.

Another good source may be the tomcat logfiles, at the moment tomcat starts..
The logfile usually contains messages indicating when tomcat opens ports and/or 
starts applications, and the applications themselves may also write there when 
they open a port.
(That depends of course on the application, and how helpful its logging is)..

Good luck.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to