Broker URLs
Endpoints and ports for connecting to the Surfact MQTT broker.
Broker URLs
Access the Surfact MQTT broker through plain MQTT or secure MQTT with TLS using the endpoints below.
MQTT
| Security | Endpoint | Port |
|---|---|---|
| No TLS | api.surfact.com | 1883 |
| TLS | api.surfact.com | 8883 |
TLS certificate
Download the Surfact PEM certificate for TLS connections: surfact-roots.pem
Always use MQTT with TLS in production so your data travels encrypted — protecting your API token and sensor data from third parties.
MQTT over WebSockets
| Security | Endpoint | Port |
|---|---|---|
| No TLS | api.surfact.com | 8083 |
| TLS | api.surfact.com | 8084 |
Fixed IP addresses
Surfact supports fixed IP addresses for data ingestion, but we strongly recommend using DNS endpoints instead — fixed IPs may change in the future.
| Protocol | IPv4 | IPv6 | Port |
|---|---|---|---|
| MQTT | 107.21.125.25 | 2600:1f18:2446:e000:: | 1883 / 8883 |
| MQTT | 54.236.17.128 | 2600:1f18:2446:e001:: | 1883 / 8883 |
Best practice: always implement firmware routines using DNS endpoints rather than hardcoding IP addresses.
Updated 3 months ago
Did this page help you?