java.net.ConnectException: 拒绝连接 (Connection refused)

2019-11-29T01:03:26,446 INFO [Coordinator-Exec–0] org.apache.druid.server.coordinator.helper.DruidCoordinatorLogger - Server[localhost:8083, historical, _default_tier] has 0 left to load, 0 left to drop, 0 bytes queued, 0 bytes served.

2019-11-29T01:03:26,462 INFO [Curator-PathChildrenCache-1] org.apache.druid.indexing.overlord.RemoteTaskRunner - Worker[localhost:8091] wrote RUNNING status for task [index_kafka_1128-test_2603a6276ffce4f_cfcibngo] on [TaskLocation{host=‘localhost’, port=8102, tlsPort=-1}]

2019-11-29T01:03:26,462 INFO [Curator-PathChildrenCache-1] org.apache.druid.indexing.overlord.TaskRunnerUtils - Task [index_kafka_1128-test_2603a6276ffce4f_cfcibngo] location changed to [TaskLocation{host=‘localhost’, port=8102, tlsPort=-1}].

2019-11-29T01:03:31,016 WARN [IndexTaskClient-1128-test-rollup-0] org.apache.druid.indexing.common.IndexTaskClient - Retries exhausted for [http://localhost:8101/druid/worker/v1/chat/index_kafka_1128-test-rollup_dfd8518fb081d49_bebmfiod/status], last exception:

java.net.ConnectException: 拒绝连接 (Connection refused)

at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_232]

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_232]

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_232]

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_232]

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_232]

at java.net.Socket.connect(Socket.java:607) ~[?:1.8.0_232]

at java.net.Socket.connect(Socket.java:556) ~[?:1.8.0_232]

at java.net.Socket.(Socket.java:452) ~[?:1.8.0_232]

at java.net.Socket.(Socket.java:229) ~[?:1.8.0_232]

at org.apache.druid.indexing.common.IndexTaskClient.checkConnection(IndexTaskClient.java:209) ~[druid-indexing-service-0.16.0-incubating.jar:0.16.0-incubating]

Hi Lei,
What are you trying to achieve here?

What is running on port 8101 on your localhost?

Thanks,

–siva