How to force kill Confluence and Synchrony on a Windows Server
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Purpose
To force a shutdown of Confluence's process, you will need to run the netstat command to identify the PID (Process ID) of the process to be terminated.
Solution
1. Execute the following command against your command prompt.
netstat -ona | findstr ":8090"
If your instance is running on a port other than 8090, substitute 8090 for your port number.
2. This command will tell you the PID of your Confluence instance. Use this PID in the command below:
taskkill /f /pid 1404
Where 1404 is the PID identified by the netstat command.
For Confluence 6 and later
Make sure Synchrony has also stopped. Just follow the same steps for port 8091 and kill the process.