Bundle exec rails server --binding=0.0.0.0

After running this, nothing loads.

What do you see on your screen when you run that, how did you setup your dev environment?

btw use ./bin/unicorn not that.

4 curtidas

Use UNICORN_BIND_ALL=1 bundle exec rails server em vez disso

4 curtidas

Muito obrigado. Em toda a documentação diz para usar --binding=0.0.0.0, mas só depois do seu comando consegui me conectar fora do localhost.

1 curtida