gruis / sinatra-websocket

Makes it easy to upgrade any request to a websocket connection in Sinatra
https://rubygems.org/gems/sinatra-websocket
Other
230 stars 31 forks source link

Run on different port? #8

Closed jboolean closed 11 years ago

jboolean commented 11 years ago

Is it possible to run the websocket server on a port different from the rest of sinatra? I'm not sure my web host is letting me bind to port 80. Works great locally though.

gruis commented 11 years ago

It's integrated with Sinatra, so just change the port that Sinatra listens on.