I see, I don't think there's a way to get this config externally. You may
take a look at URL registered in registry center. If there's no such info,
you may consider to simply try the default port, but leave it to user to
fill in on ops.

What do you think?

On Tue, Sep 25, 2018 at 8:35 PM 马金凯 <majin...@dingtalk.com> wrote:

> Thanks for your reply.
> I means how to get the port with api, because i am coding on dubbo ops, i
> want get the telnet port with api, and use it for QoS module.
>
> ------------------------------------------------------------------
> 发件人:Ian Luo <ian....@gmail.com>
> 发送时间:2018年9月26日(星期三) 06:23
> 收件人:dev <dev@dubbo.apache.org>; majinkai <majin...@dingtalk.com>
> 主 题:Re: How to get telnet port in new version(2.5.8)
>
> Hi Jinkai,
>
> As the doc instructs, you should put something like
> 'dubbo.application.qos.port=33333' in dubbo.properties to change the port.
>
> Regards,
> -Ian.
>
>
> On Tue, Sep 25, 2018 at 4:11 AM 马金凯 <majin...@dingtalk.com.invalid> wrote:
> http://dubbo.apache.org/en-us/docs/user/references/qos.html
>
> `the port of new version telnet is different from the port of dubbo
> protocol. The default port is 22222, which can be changed by modifying
> configuration file dubbo.properties`
>
> How to get telnet port in new version, does it in the metadata?
>
>

Reply via email to