Can I Change the WebSocket Port in HiveMQ Cloud Serverless?

Can I Change the WebSocket Port in HiveMQ Cloud Serverless?

Question

A customer attempted to change the WebSocket port from the default 8884 to 443 in the HiveMQ Cloud Serverless plan. However, the platform did not allow this change.

Answer

Problem

  • Customer Action: Tried to set a custom WebSocket port (443) via the HiveMQ Cloud portal.

  • Expected Behavior: Ability to modify the WebSocket port.

  • Actual Behavior: The port field is fixed and not editable.


πŸ’‘ Root Cause

The HiveMQ Cloud Serverless plan uses a fixed WebSocket port (8884). This limitation is by design and cannot be changed in Serverless deployments.


βœ… Resolution

To use a custom WebSocket port (e.g., 443), you need to upgrade to a HiveMQ Cloud Dedicated (Enterprise) plan, which offers greater flexibility and configurability.


πŸ” Alternatives & Next Steps

  • Stay with the Serverless plan and use port 8884 for WebSocket communication.

  • Upgrade to a Dedicated plan to configure WebSocket ports as needed.

  • Contact HiveMQ Sales for migration guidance or plan options.


πŸ§ͺ Reproduction Steps

To see the limitation:

  1. Log into your HiveMQ Cloud account.

  2. Navigate to your cluster’s overview page.

  3. Attempt to edit the WebSocket port in the configuration section.

  4. Observe that the field is fixed at 8884.


πŸ”’ Plan Limitation Summary

Feature

Serverless Plan

Dedicated Plan

Feature

Serverless Plan

Dedicated Plan

WebSocket Port Customization

❌ Not Supported

βœ… Supported

Default Port

8884

Configurable

TLS/SSL Support

βœ… Yes

βœ… Yes


πŸ“¬ Still Have Questions?

Feel free to contact support if you have questions or need help selecting the right plan.