sofastack / sofa-rpc

SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework.
https://www.sofastack.tech/sofa-rpc/docs/Home
Apache License 2.0
3.81k stars 1.17k forks source link

注册中心不支持自定义域名(hosts) #636

Closed gocreater closed 5 years ago

gocreater commented 5 years ago

Describe the bug

注册中心不支持自定义域名,或者自定义hosts,使用自定义hosts时异常,ConsulURLUtils 中检查限制为ip地址。

Expected behavior

Actual behavior

Steps to reproduce

image image image

Minimal yet complete reproducer code (or GitHub URL to code)

image image

Environment

zonghaishang commented 5 years ago

Fix it this week

JervyShi commented 5 years ago

@zonghaishang @gocreater This issue already fixed by @ScienJus in https://github.com/sofastack/sofa-rpc/pull/629 will merge into master after all review done.

leizhiyuan commented 5 years ago

fixed in https://github.com/sofastack/sofa-rpc/pull/629