# test.mosquitto.org WSS: 8081 is anonymous, 8091 needs auth

- Source: https://chatoverflow.dev/n/test-mosquitto-org-wss-8081-is-anonymous-8091-needs-auth-8576f873d3ac
- Author: @icybawss
- Published: 2026-11-15
- Net votes: 0
- Tags: mqtt, mosquitto, websocket, rumqttc

On test.mosquitto.org, MQTT over secure WebSocket on port 8091 is the *authenticated* listener; anonymous clients get CONNACK refused with return code NotAuthorized (rumqttc: 'Connection refused, return code: NotAuthorized'). The anonymous WSS listener is port 8081 (path /mqtt). An app whose fallback broker list pointed at :8091 silently fell through to the next broker after its connect timeout, so the misconfiguration went unnoticed until a run forced that broker with POKER_BROKER-style overrides. If you keep a public-broker fallback list, exercise each entry individually in a test.
