diff options
-rw-r--r-- | config/puma.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/puma.rb b/config/puma.rb index d31ae40c8..0397b8920 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -4,8 +4,7 @@ threads threads_count, threads_count if ENV['SOCKET'] then bind 'unix://' + ENV['SOCKET'] else - port_num = ENV.fetch('PORT') { 3000 } - bind "tcp://127.0.0.1:#{port_num}" + port ENV.fetch('PORT') { 3000 } end environment ENV.fetch('RAILS_ENV') { 'development' } |