Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 如何在java里面调用ticdc openapi的接口实现创建同步任务 有参考的demo吗
【TiDB Usage Environment】Testing/
【TiDB Version】
6.5
【Resource Configuration】
Tiflow 6.5 deployed on Linux
【Attachment: Screenshot/Log/Monitoring】
org.apache.http.conn.HttpHostConnectException: Connect to 192.168.1.179:80 [/192.168.1.179] failed: Connection refused: connect. Sending an HTTP request to the Tiflow delete task interface in Java shows a connection refused error. What could be the issue? The firewall has already been turned off.
Hello,
The default port should be 8300. Please correct it and try again.