Share
 
 

Open Ports Using Windows Defender Firewall Tool

Use the Windows Defender Firewall tool to create a rule to open MQTT ports 8443 and 8883.

Your Windows machine may be configured to block non-standard ports. If this is the case, you can create a firewall rule that explicitly opens ports 8443 and 8883.

  1. Open Windows Defender Firewall and go to Outbound Rules.
  2. Under Actions, create a New Rule (outbound).
  3. As the Rule Type, select Port.
  4. Then select TCP and enter the Specific Remote Ports: 8443, 8883.
  5. For the Action, select Allow the Connection.
  6. Make sure all the check boxes are marked.
  7. Then give the rule a name and description and click Finish.

Was this information helpful?