[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [paho-dev] Connecting to external broker through restricted network using Paho.
|
The serverURI passed in on the MqttConnaction or MqttAsyncConnection is in the form: "ssl:" or "tcp:" + "//" + server +":" + port, so you can easily specify the port there. Port will default if not specified, to 1883 for "tcp:" and 8883 for "ssl:"
Marc L. Cohen
MessageSight Test/Development
Internet:mlcohen@xxxxxxxxxx
also at:teddybbear@xxxxxxx
(512) 286-5744 (T/L 363-5744)
FAX (512) 973-4293
paho-dev-bounces@xxxxxxxxxxx wrote on 06/18/2015 05:11:33 AM:
> From: saurabh patil <saurabhpatil786@xxxxxxxxx>
> To: paho-dev@xxxxxxxxxxx
> Date: 06/18/2015 05:12 AM
> Subject: [paho-dev] Connecting to external broker through restricted
> network using Paho.
> Sent by: paho-dev-bounces@xxxxxxxxxxx
>
> Hi Team,
> My client is using a restricted network i.e it's behind a firewall
> which permits requests to only 443 port. So it does not allow the
> client to connect to any other port that my mqtt broker is running on.
> Is there any way to connect to target broker running on random port
> like 12000 with such network restrictions using Paho java client?
> I think I will have to start a proxy which will route mqtt connect
> request to target ip and port but I am not sure how to do that.
> Please help me out and let me know how can I achieve this?
>
>
> --
> Thanks and Regards,
> Saurabh Patil
>
> _______________________________________________
> paho-dev mailing list
> paho-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/paho-dev