Skip to content

Commit b4af07b

Browse files
Merge pull request #289530 from jlian/patch-98
Fix codefence labels
2 parents da68c36 + 3c62055 commit b4af07b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/iot-operations/manage-mqtt-broker/howto-test-connection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.subservice: azure-mqtt-broker
77
ms.topic: how-to
88
ms.custom:
99
- ignite-2023
10-
ms.date: 07/08/2024
10+
ms.date: 10/30/2024
1111

1212
#CustomerIntent: As an operator or developer, I want to test MQTT connectivity with tools that I'm already familiar with to know that I set up my MQTT broker correctly.
1313
ms.service: azure-iot-operations
@@ -305,13 +305,13 @@ For Azure Kubernetes Services Edge Essentials, you need to perform a few additio
305305

306306
1. Set up port forwarding to the `broker-loadbalancer` service on the external IP address `192.168.0.4` and port `1883`:
307307

308-
```bash
308+
```cmd
309309
netsh interface portproxy add v4tov4 listenport=1883 connectport=1883 connectaddress=192.168.0.4
310310
```
311311

312312
1. Open the port on the firewall to allow traffic to the broker's service:
313313

314-
```bash
314+
```powershell
315315
New-NetFirewallRule -DisplayName "AIO MQTT Broker" -Direction Inbound -Protocol TCP -LocalPort 1883 -Action Allow
316316
```
317317

0 commit comments

Comments
 (0)