How to connect to the default WebSocket network
Each Hub automatically creates a default WebSocket network, and, like the default network, users cannot delete it.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- Created an IoT Hub
-
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 or443
for TLS. - MQTT Username: The Device ID from the device you created earlier.
- If your client asks for a password, pass in an empty string.
-
Connect and exchange messages.
See Also
Still need help?Create a support ticket