TiFlash startup failed: "Application: null context when constructing CivetServer. Possible problem binding to port."

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiFlash启动失败"Application:null context when constructing CivetServer. Possible problem binding to port."

| username: TiDBer_xFnKgQzl

【TiDB Usage Environment】Production Environment or Test Environment or POC
【TiDB Version】
【Encountered Problem】Error: failed to start tiflash: failed to start: 192.168.110.102 tiflash-9000.service,
【Reproduction Path】What operations were performed to encounter the problem
【Problem Phenomenon and Impact】

【Attachments】Related logs and monitoring (https://metricstool.pingcap.com/)


If the question is related to performance optimization or fault troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results and upload them.

| username: Billmay表妹 | Original post link

Refer to this.

| username: TiDBer_xFnKgQzl | Original post link

The issue has been resolved. I just checked the three configuration files under tiflash’s conf and found that starting flash requires not only port 9000 but also ports 3930, 10080, and 8234. After checking the port situation, I found that ports 10080 and 8234 were already occupied. After killing the processes and restarting, it was successful.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.