Closed davesag closed 11 years ago
Hi
I've configured my guardfile to fire up my server but the server is invisible from machines other that 'localhost'.
in my guardfile
guard 'shotgun' do watch('server.rb') end
supposedly passing :host => '0.0.0.0' as a parameter to shotgun will allow it to serve out to anyone, but I tried
guard 'shotgun', :host => '0.0.0.0' do watch('server.rb') end
and it doesn't work.
Any suggestions?
I've fixed this in my server.rb as follows
MyServer.run!({:server => 'thin', :bind => '0.0.0.0', :port => 5000})
Would be nice to know if this can be achieved within the guardfile though.
Hi
I've configured my guardfile to fire up my server but the server is invisible from machines other that 'localhost'.
in my guardfile
supposedly passing :host => '0.0.0.0' as a parameter to shotgun will allow it to serve out to anyone, but I tried
and it doesn't work.
Any suggestions?