[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: How change tomcat8.exe listening port 0.0.0.0:12345 to a different port
From:       André_Warnier_(tomcat) <aw () ice-sa ! com>
Date:       2019-08-27 14:18:19
Message-ID: 5D653BAB.9060801 () ice-sa ! com
[Download RAW message or body]

And just for fun, I searched Google for "tcp port 12345" and found this among others \
: https://www.speedguide.net/port.php?port=12345

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 this. 
> Thanks again.
> 
> 
> -----Original Message-----
> From: André Warnier (tomcat) [mailto:aw@ice-sa.com]
> Sent: Dienstag, 27. August 2019 15:43
> To: users@tomcat.apache.org
> Subject: Re: How change tomcat8.exe listening port 0.0.0.0:12345 to a different \
> port 
> 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 \
> > > changed? 
> > > For full details (server.xml etc.) see:
> > > https://serverfault.com/questions/980452/how-change-tomcat8-exe-liste
> > > ning-port-0-0-0-012345-to-a-different-port
> > > 
> > > 
> > 
> > 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
> > https://cwiki.apache.org/confluence/display/TOMCAT/Windows#Windows-Q11
> > 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: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic