You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "AlbumenJ (via GitHub)" <gi...@apache.org> on 2023/03/29 02:17:16 UTC

[GitHub] [dubbo] AlbumenJ commented on issue #11945: triple 协议既然是http协议 那么可以和web容器共用一个端口么 例如tomcat端口是8080 那我可以triple协议也走8080嘛

AlbumenJ commented on issue #11945:
URL: https://github.com/apache/dubbo/issues/11945#issuecomment-1487852336

   > > triple协议是基于Http2协议之上构建的, triple的端口起到的是暴露服务的作用. 而tomcat这类serlvet容器只为注册的实例在invocation链中解析时提供运行时上下文. 需要错开端口. 虽然可以通过配置Spring Boot自动化配置来将Dubbo和Tomcat整合在一起使用同一个端口号,但是这种方式只适用于Dubbo的默认协议(Dubbo协议),而不适用于Triple协议.
   > 
   > 其实只是想dubbo像feign一样 通过一个端口就可以搞定 那这样就不用在nacos上注册名称相同但是端口不同的两个服务了
   
   Dubbo 内部的协议(Dubbo、Triple、Rest)后面是会支持单端口的


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

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