You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "Yelijah (via GitHub)" <gi...@apache.org> on 2024/08/15 08:26:31 UTC

[D] 客户端不能连接proxy的外网ip和外网端口? [rocketmq-clients]

GitHub user Yelijah created a discussion: 客户端不能连接proxy的外网ip和外网端口?

比如我的proxy进程端口是8081,但是外网映射端口为18081。
client连接时尝试使用18081,但是会报错8081端口无法访问,也就是说实际还是会走8081端口访问?
<img width="1945" alt="image" src="https://github.com/user-attachments/assets/ae98e336-186f-4fb7-9b9d-772bc0c3e51f">


GitHub link: https://github.com/apache/rocketmq-clients/discussions/815

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] 客户端不能连接proxy的外网ip和外网端口? [rocketmq-clients]

Posted by "Yelijah (via GitHub)" <gi...@apache.org>.
GitHub user Yelijah added a comment to the discussion: 客户端不能连接proxy的外网ip和外网端口?

找到了,proxy有个隐藏配置useEndpointPortFromRequest需要改成true。

GitHub link: https://github.com/apache/rocketmq-clients/discussions/815#discussioncomment-10521900

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] 客户端不能连接proxy的外网ip和外网端口? [rocketmq-clients]

Posted by "gzlboy (via GitHub)" <gi...@apache.org>.
GitHub user gzlboy added a comment to the discussion: 客户端不能连接proxy的外网ip和外网端口?

和我k8s里面把proxy用nodeport暴露出来一样的问题,集群外无法连通。。。不知道为什么

GitHub link: https://github.com/apache/rocketmq-clients/discussions/815#discussioncomment-10385158

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org