Browse files

[faq] add tying

  • Loading branch information...
1 parent 53a2627 commit 56e5f4f0ea19a851ade258cfd832d8ef9ca173ca @Swaagie Swaagie committed Mar 27, 2013
Showing with 19 additions and 1 deletion.
  1. +18 −0 content/a-quickstart/
  2. +1 −1 content/jitsu/
@@ -281,4 +281,22 @@ change you will loose previous snapshots and other configured settings.
To change the application name do `jitsu destroy`, confirm and finally redeploy
with `jitsu deploy`. Both commands must be executed within the project folder.
+## How can I use Socket.IO alongside a http server?
+We reroute all traffic to port 80. To use a http server and socket.IO over the
+same port, you need to tie socket.IO in http. [Socket.IO documentation][docs] will
+provide a clear example or try our demo app `jitsu install`.
+To give you a general idea of the logic:
+var app = require('express')()
+ , server = require('http').createServer(app)
+ , io = require('').listen(server);
[meta:title]: <> (FAQ)
@@ -85,7 +85,7 @@ visit *http://localhost:8080/*. If you get an `EADDRINUSE` error the *port 8080*
is already in use. Close the other application before starting the helloworld
-This application is running locally ofcourse, see [deploying][deploy] under
+This application is running locally, see [deploying][deploy] under
additional commands to get it running on our cloud.
## Additional commands

0 comments on commit 56e5f4f

Please sign in to comment.