问题描述:
启动集群之后,报错为:
org.apache.flink.runtime.net.ConnectionUtils - Failed to connect from address ‘/127.0.0.1’: Connection refused
org.apache.flink.runtime.net.ConnectionUtils - Trying to connect to address localhost/127.0.0.1:6123
解决方案:
在$FLINK_HOME/conf 下flink-conf.yaml中添加如下配置:
#添加如下配置,指定taskmananger的地址,如果是单机部署,指定localhost
taskmanager.host: localhost
Flink部署报错 6123端口起不来
最新推荐文章于 2025-07-27 15:25:17 发布
在启动Flink集群时遇到连接拒绝错误,具体表现为尝试连接到localhost的6123端口失败。解决方法是在Flink的配置文件flink-conf.yaml中添加taskmanager.host配置,设置为localhost。
2516

被折叠的 条评论
为什么被折叠?



