Skip to content

获取storageServer 连接失败connect to server 127.0.0.1:23000 fail, emsg:Connection refused: connect #102

Description

@luckytao

ip_addr = new String(pkgInfo.body, ProtoCommon.FDFS_GROUP_NAME_MAX_LEN, ProtoCommon.FDFS_IPADDR_SIZE - 1).trim()
这段代码获取的IP地址特殊网络是错误的IP地址

FDFS server用最新版本v6.9.2, 指定tracker_server = 0.0.0.0:22122时,这个ip_addr返回的始终是127.0.0.1,tracker_server 必须指定固定ip地址,ip_add才能正确返回storage服务器地址。

Originally posted by @luckytao in #101 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions