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 إعجابات

استخدم UNICORN_BIND_ALL=1 bundle exec rails server بدلاً من ذلك

4 إعجابات

شكرًا جزيلاً لك. في جميع أنحاء الوثائق، كان يجب استخدام --binding=0.0.0.0، ولكن فقط بعد تنفيذ الأمر الخاص بك تمكنت من الاتصال خارج localhost.

إعجاب واحد (1)