Is java client of PAHO proxy aware and enables sen

2019-08-22 22:53发布

Organization provides http proxy and https proxy.

If not within enterprise network successfully establishing a secure connection (ssl://brokerhost:brokerport)
1.Passing relevant keystore and truststore
2.Setting default instance of SSLSocketFactory in MqttConnectOptions.

1条回答
一纸荒年 Trace。
2楼-- · 2019-08-22 23:28

No, for native MQTT there is no way to use a HTTP/HTTPS proxy.

You can not use a HTTP proxy to transport an arbitrary TCP based protocol. You need something like SOCKS (ssh can be used to to setup socks proxies or to do port forwarding to remote [not the ssh host] location)

查看更多
登录 后发表回答