This is my
config.ru:
require 'faye'
bayeux = Faye::RackAdapter.new(:mount => '/framework/push', :timeout
=> 120)bayeux.listen(9293)
Running it like this:
rackup --host 127.0.0.1
faye.ru
Gives me this:
>> Thin web server (v1.2.11 codename Bat-Shit Crazy)
>> Maximum connections set to 1024
>> Listening on
0.0.0.0:9293, CTRL+C to stop
And just to be sure, lsof tells me this:
ruby 6328 karl 5u IPv4 0xffffff8022402320 0t0
TCP *:9293 (LISTEN)
So it's not doing something right. If calling rackup with --host
should set it, it doesn't. I'm fairly sure what I did to get it to do
what I wanted was to edit the call in faye I referenced before to
include the option for host. I'll check when I get to work and post
again.
Karl
On Oct 18, 5:40 am, James Coglan <
jcog...@gmail.com> wrote: