Core
Write Protocols v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

Socket.IO #

Configuration #

The protocol can be configured via the kuzzlerc configuration file, under the server > protocols > socketio section.

Option Type Description Default
enabled
boolean
Enable/Disable Socket.IO protocol support true
origins
string
Value of Access-Control-Allow-Origin header to answer the upgrade request *:*

Configure listening port #

HTTP, WebSocket and Socket.IO protocols share the same underlying server instance. Modifying the listening port will impact all these three protocols.

By default, Kuzzle listens to the 7512 port.

The port can be modified under the server > port section of Kuzzle configuration.