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

DefaultFastFileStorageClient.getStorageNode(String groupName)获取的storage节点的port=0 #297

Open
XuanfengHong opened this issue Mar 5, 2024 · 5 comments

Comments

@XuanfengHong
Copy link

本地windows子系统已经部署好tracker和storage节点,storage日志:
image

可见storage的port是23000无误

但是从tracker获取的storage的地址,port却是0
image

如果手动修改port=23000

上传可以成功
image

说明fdfs本身是OK的

求教为什么这里获取的port却会是0 ? 是我哪里设置的还有问题吗

@XuanfengHong
Copy link
Author

能看到我添加的截图吗?

1
2
3

@YiXing-Zhou
Copy link

hi 目前我也遇到了这个问题,手动修改以后可以成功; 您这个问题解决了嘛?

@unclecode1024
Copy link

我也遇到了这个问题,请问你解决了吗

@Gwen0x4c3
Copy link

+1 解决了吗

@Gwen0x4c3
Copy link

解决了,自己fork一下作者项目,修改com.github.tobato.fastdfs.domain.proto.OtherConstants的FDFS_IPADDR_SIZE为46,然后mvn clean install一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants