You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/09/23 02:35:34 UTC

[GitHub] [dubbo-go] whitekeyboard opened a new issue #774: registry为service-discovery时,修改配置后,多出一个20000的监听端口

whitekeyboard opened a new issue #774:
URL: https://github.com/apache/dubbo-go/issues/774


   如以下示例中
   ”https://github.com/apache/dubbo-samples/tree/master/golang/registry/servicediscovery/nacos/go-server”
   如果将配置文件的监听端口20000改为20003后,运行发现,20000和20003都会监听,看代码
   tryInitMetadataService ->  (exporter *MetadataServiceExporter) Export() ,此处的Export函数会设置默认的端口为20000,此处有两个疑问:
   1.对于注册中心为service-discovery,此处的Export函数,会监听默认的20000,如果20000是特殊用处,则这个参数应该动态可配置的吧,否则同一台主机,多个不同服务启动的时候,不是只有一个20000能使用吗?
   2.如果此20000是为了配置文件中没有配置监听端口时,默认监听使用,那当前配置了监听端口20003,依然会监听20000,这样应该不合理吧?
   请帮忙解答一下


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks commented on issue #774: registry为service-discovery时,修改配置文件端口为20003后,多出一个20000的监听端口

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #774:
URL: https://github.com/apache/dubbo-go/issues/774#issuecomment-700010557


   cc [sanxun](https://github.com/sanxun0325)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks closed issue #774: registry为service-discovery时,修改配置文件端口为20003后,多出一个20000的监听端口

Posted by GitBox <gi...@apache.org>.
AlexStocks closed issue #774:
URL: https://github.com/apache/dubbo-go/issues/774


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] sanxun0325 commented on issue #774: registry为service-discovery时,修改配置文件端口为20003后,多出一个20000的监听端口

Posted by GitBox <gi...@apache.org>.
sanxun0325 commented on issue #774:
URL: https://github.com/apache/dubbo-go/issues/774#issuecomment-700011665


   i will solve it


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks commented on issue #774: registry为service-discovery时,修改配置文件端口为20003后,多出一个20000的监听端口

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #774:
URL: https://github.com/apache/dubbo-go/issues/774#issuecomment-711147874


   has been fixed at [pr 784](https://github.com/apache/dubbo-go/pull/784)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org