L1 Guide – How to Test Connectivity to tt{ClientName}.azure-devices.net on Port 8883 (Linux Only)
1️⃣ Step 1 — Test DNS (Does the domain resolve?)
Run this command:
✔ Expected output if OK:
It should show an IP address, like:
❌ If you see:
“NXDOMAIN”
“server can’t find”
“timed out”
➡ DNS is failing → escalate to L2.
2️⃣ Step 2 — Test Port 8883 Connectivity (MQTT Port)
Use netcat (nc):
✔ Expected output if OK:
This means the machine CAN reach Azure IoT Hub on the MQTT port (8883).
❌ If NOT OK, you may see:
Connection timed outConnection refusedNo route to hostfailed
➡ This means port 8883 is blocked (firewall / network issue).
Escalate to L2/L3.
3️⃣ Final Expected Results (Pass / Fail)
| Test | Command | Expected | Action |
|---|---|---|---|
| DNS | sudo nslookup tt{ClientName}.azure-devices.net | Returns an IP | FAIL → Escalate |
| Port 8883 | sudo nc -zv tt{ClientName}.azure-devices.net 8883 | “succeeded!” | FAIL → Escalate |
4️⃣ Quick Copy/paste Summary for L1
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article