Home>Server Settings > WebSocket

Server Settings > WebSocket

Configure WebSocket settings in ColdFusion Administrator

Based on HTML 5 server push technology, WebSocket are a communications protocol compatible with HTTP. The WebSocket protocol facilitates real-time, bi-directional, and highly scalable data transfer between client and server applications using a publish/subscribe model.

WebSocket Configuration

There are two methods for implementing WebSocket in ColdFusion: using the built-in ColdFusion WebSocket server, or proxying WebSocket connections through an external web server such as IIS or Apache.

Configuration Details

An important configuration setting is "Max Data Size," which controls the maximum size of WebSocket messages. The optimal value should be determined through testing based on your application's requirements. Additional configuration steps may be required for Windows installations.

IIS WebSocket Proxy Setup

Setting up IIS as a WebSocket proxy requires IIS 8 or later. The configuration steps include: installing WebSocket support in IIS, connecting IIS to ColdFusion using the web server connector, and configuring IIS to function as the WebSocket proxy server.

Additional Help

Stuck?

Convective can help solve even the toughest ColdFusion issues. Find out more.