rest - Flink 一直没有在 localhost 上运行
问题描述
我想限制 Flink 的 rest api 可以从任何地方访问,所以我将flink-conf.yaml
文件更改如下:
#==============================================================================
# Rest & web frontend
#==============================================================================
# The port to which the REST client connects to. If rest.bind-port has
# not been specified, then the server will bind to this port as well.
#
rest.port: 8081
# The address to which the REST client will connect to
#
rest.address: 127.0.0.1
但是,netstat -ln | grep 8081
告诉我它仍在运行0.0.0.0:8081
关于这个问题的任何想法?
解决方案
注释掉这一行rest.address: 127.0.0.1
并rest.bind-address: 127.0.0.1
输入
推荐阅读
- heroku - Laravel 无法访问数据库
- dashboard - 导出 Zabbix 仪表板
- javascript - react-spring:过渡组件问题
- angular - 如何从Angular8(独立组件)中的另一个组件传递一个组件的值
- android - 如何使用 Glide 加载 gif 图片 url?
- javascript - JavaScript 中静态变量的工作
- c++ - 从 C++ 中的文本文件中删除和更新产品
- mysql - ALTER VIEW 只为一个视图插入数据库前缀
- sql - 如何通过使用 JPA 或 Hibernate 中的标准构建器连接同一个表来选择值
- android - 未找到 com.google.android.gms.internal.zzeku 的类文件