Issue in setup discourse on ubuntu server

Try:

RAILS_ENV=development bundle exec rails server --binding=0.0.0.0

https://stackoverflow.com/questions/29083885/what-does-binding-a-rails-server-to-0-0-0-0-buy-you/29084070