Most likely, the port you have chosen is already being used by some other application, check the YouTrack logs for more information, they are located in the installation directory, for example:
c:\Program Files (x86)\YouTrack\logs
Please note that if you run TeamCity on one computer, at least one other port (with the exception of the default HTTP port) may conflict, edit conf\server.xml
:
<Server port="8005" shutdown="SHUTDOWN">
TeamCity Tomcat most likely uses the same shutdown port, so you need to change it. Change other conflicting ports if you find them in the logs.
source share