Skip to content

Commit 1041381

Browse files
Merge pull request #103206 from JimacoMS3/mqtt-update-for-blocked-port
Add info to use MQTT-WS if MQTT port is blocked. GH issue 45893 and 3…
2 parents 2d73aa8 + ad7c676 commit 1041381

File tree

41 files changed

+109
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+109
-11
lines changed

articles/iot-hub/iot-hub-csharp-csharp-c2d.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ At the end of this tutorial, you run two .NET console apps.
4545

4646
* An active Azure account. If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.
4747

48+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
49+
4850
## Receive messages in the device app
4951

5052
In this section, modify the device app you created in [Send telemetry from a device to an IoT hub](quickstart-send-telemetry-dotnet.md) to receive cloud-to-device messages from the IoT hub.

articles/iot-hub/iot-hub-csharp-csharp-device-management-get-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ At the end of this tutorial, you have two .NET console apps:
3535

3636
* An active Azure account. If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.
3737

38+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
39+
3840
## Create an IoT hub
3941

4042
[!INCLUDE [iot-hub-include-create-hub](../../includes/iot-hub-include-create-hub.md)]

articles/iot-hub/iot-hub-csharp-csharp-file-upload.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ At the end of this tutorial you run two .NET console apps:
4848

4949
* An active Azure account. If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.
5050

51+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
52+
5153
[!INCLUDE [iot-hub-associate-storage](../../includes/iot-hub-associate-storage.md)]
5254

5355
## Upload a file from a device app

articles/iot-hub/iot-hub-csharp-csharp-schedule-jobs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ At the end of this tutorial, you have two .NET (C#) console apps:
5050

5151
* An active Azure account. If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.
5252

53+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
54+
5355
## Create an IoT hub
5456

5557
[!INCLUDE [iot-hub-include-create-hub](../../includes/iot-hub-include-create-hub.md)]

articles/iot-hub/iot-hub-csharp-csharp-twin-getstarted.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ In this tutorial, you create these .NET console apps:
3333

3434
* An active Azure account. If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.
3535

36+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
37+
3638
## Create an IoT hub
3739

3840
[!INCLUDE [iot-hub-include-create-hub](../../includes/iot-hub-include-create-hub.md)]

articles/iot-hub/iot-hub-ios-swift-c2d.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ At the end of this article, you run two Swift iOS projects:
4646

4747
* The latest version of [CocoaPods](https://guides.cocoapods.org/using/getting-started.html).
4848

49+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
50+
4951
## Simulate an IoT device
5052

5153
In this section, you simulate an iOS device running a Swift application to receive cloud-to-device messages from the IoT hub.

articles/iot-hub/iot-hub-java-java-c2d.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ At the end of this tutorial, you run two Java console apps:
4848

4949
* An active Azure account. If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.
5050

51+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
52+
5153
## Receive messages in the simulated device app
5254

5355
In this section, you modify the simulated device app you created in [Send telemetry from a device to an IoT hub](quickstart-send-telemetry-java.md) to receive cloud-to-device messages from the IoT hub.

articles/iot-hub/iot-hub-java-java-device-management-getstarted.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ At the end of this tutorial, you have two Java console apps:
5454

5555
* An active Azure account. (If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.)
5656

57+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
58+
5759
## Create an IoT hub
5860

5961
[!INCLUDE [iot-hub-include-create-hub](../../includes/iot-hub-include-create-hub.md)]

articles/iot-hub/iot-hub-java-java-file-upload.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ At the end of this tutorial you run two Java console apps:
4747

4848
* An active Azure account. (If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.)
4949

50+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
51+
5052
[!INCLUDE [iot-hub-associate-storage](../../includes/iot-hub-associate-storage.md)]
5153

5254
## Upload a file from a device app

articles/iot-hub/iot-hub-java-java-schedule-jobs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ At the end of this tutorial, you have a java console device app and a java conso
5454

5555
* An active Azure account. (If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.)
5656

57+
* Make sure that port 8883 is open in your firewall. The device sample in this article uses MQTT protocol, which communicates over port 8883. This port may be blocked in some corporate and educational network environments. For more information and ways to work around this issue, see [Connecting to IoT Hub (MQTT)](iot-hub-mqtt-support.md#connecting-to-iot-hub).
58+
5759
## Create an IoT hub
5860

5961
[!INCLUDE [iot-hub-include-create-hub](../../includes/iot-hub-include-create-hub.md)]

0 commit comments

Comments
 (0)