Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

...

The article describes why can custo diag Server stop intermittently.
Tomcat by default runs on port number 8080, . However there is high chance get a port conflict with others program. Sometime we just need to change the Tomcat port number.

Diagnosis

...

  • How to search the log Data from diag-Server custo diagnostic server see: https://www.customed.de/docs/x/JwG
  • View in the last  currrent  diagserver-stderr.xxxx.log, 
  • scroll to the last entry, here is a example:

Steps of changing the Tomcat Port

(Source: https://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/)1)


  1. Locate server.xml in {Tomcat installation folder}\conf\

...

  1. Find following similar

...

  1. statemen

...


  1. Image Modified


    or

    Image Modified

...


  1. About Tomcat’s server.xml file cites it’s runs on port 8080. Change the Connector port=”8080″ port to any other port number.
    For example

    Image Modified

...



  1. Above statement instruct Tomcat server runs on port 8181.

...


  1. Edit and save the server.xml file. Restart Tomcat. Done.