You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "fsilent (via GitHub)" <gi...@apache.org> on 2023/05/12 12:38:05 UTC
[I] 咨询:请问brpc的start方法支持一个端口同时指定多个ip吗? (brpc)
fsilent opened a new issue, #2245:
URL: https://github.com/apache/brpc/issues/2245
brpc start方法不指定ip启动时,默认是0.0.0.0 ip。
请问brpc的start方法支持一个端口同时指定多个ip吗?如既指定本机ip,又指定127.0.0.1
--
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: dev-unsubscribe@brpc.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org
Re: [I] 咨询:请问brpc的start方法支持一个端口同时指定多个ip吗? (brpc)
Posted by "chenBright (via GitHub)" <gi...@apache.org>.
chenBright commented on issue #2245:
URL: https://github.com/apache/brpc/issues/2245#issuecomment-1546691659
可以起多个server,每个server指定特定的ip
--
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: dev-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org
Re: [I] 咨询:请问brpc的start方法支持一个端口同时指定多个ip吗? (brpc)
Posted by "chenBright (via GitHub)" <gi...@apache.org>.
chenBright commented on issue #2245:
URL: https://github.com/apache/brpc/issues/2245#issuecomment-1547996585
可以在同一个进程内起多个server。https://github.com/apache/brpc/blob/master/docs/cn/server.md#%E7%9B%91%E5%90%AC%E5%A4%9A%E4%B8%AA%E7%AB%AF%E5%8F%A3
--
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: dev-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org
Re: [I] 咨询:请问brpc的start方法支持一个端口同时指定多个ip吗? (brpc)
Posted by "fsilent (via GitHub)" <gi...@apache.org>.
fsilent closed issue #2245: 咨询:请问brpc的start方法支持一个端口同时指定多个ip吗?
URL: https://github.com/apache/brpc/issues/2245
--
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: dev-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org
Re: [I] 咨询:请问brpc的start方法支持一个端口同时指定多个ip吗? (brpc)
Posted by "fsilent (via GitHub)" <gi...@apache.org>.
fsilent commented on issue #2245:
URL: https://github.com/apache/brpc/issues/2245#issuecomment-1547681378
多谢回复,我本意是想在一个进程里可以通过多个ip访问,但又不是监听全网ip。 后面没找到对应的方法,在客户端里把127.0.0.1的ip改成本机ip了
--
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: dev-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org