Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nacos启用Naming功能后会有JRaft的通信端口,这个端口有方法绑定IP地址么? #12263

Closed
HITWangJS opened this issue Jun 21, 2024 · 3 comments

Comments

@HITWangJS
Copy link

单机部署场景下,Raft启动的GRPC端口(-1000偏移量的那个)默认全零监听,因内网安全要求,需要修改绑定至服务器管理IP或本地环回,有途径去更改这个绑定IP的方式么?
image

@KomachiSion
Copy link
Collaborator

Jraft支持这个能力吗? 如果Jraft支持的话, 可以提交一下PR,在nacos上加一个配置支持上,或者是如果Jraft支持通过-D参数支持设置,可以直接进行重启设置。

@YunWZ
Copy link
Contributor

YunWZ commented Jul 12, 2024

看了下, 相关功能很早就支持了:

  1. 虚拟机参数 -Dnacos.server.ip=127.0.0.1
  2. 虚拟机参数 -Dnacos.inetutils.ip-address=127.0.0.1

BTW: 截图的":::17302“,是ipv6的形式的地址, 比较奇怪的地方是,其他端口都是在ipv4点地址上监听的,这个7848(本例是17302)却在ipv6地址上监听。。。 不知能否提供问题复现案例

@KomachiSion
Copy link
Collaborator

No more response from author for a long time, and this problem seems new version has solved this problem.

@KomachiSion KomachiSion closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants