It may be that metadataType is in local mode, and metadataServicePort is configured incorrectly.
metadataType attribute value on the Provider side.metadataServicePort on the Provider side is correct, and pay special attention to whether there is any conflict with other application ports.