How to connect to the default WebSocket network
Reviewed on 04 July 2024 • Published on 01 September 2019
Each Hub automatically creates a default WebSocket network, and, like the default network, users cannot delete it.
To complete the actions presented below, you must have:
-
Add a Hub device if you haven’t already done so.
As the WebSocket network does not implement Mutual TLS authentication, choose to Allow Insecure
connections.
-
Configure the physical device (or client) to connect through the network, using the following parameters:
- Host: The network endpoint.
- Port: Use
80
for plaintext or 443
for TLS.
- MQTT Username: The Device ID from the device you created earlier.
- If your client asks for a password, just pass in an empty string.
ImportantMutual TLS authentication is not available on this network, which means that devices that connect over this network must Allow Insecure
connections.
-
Connect and exchange messages.