about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-26 00:13:22 +0200
committerGitHub <noreply@github.com>2018-08-26 00:13:22 +0200
commit33054840280186789aa286fbfdf3aa76f09bdb36 (patch)
tree4056450c97b735d7b84c9375d27f3b119532714d
parent22e46ebad84111f2a0eeb935ec05ba44a99ab2ba (diff)
Revert "Default puma to running on localhost only." (#8444)
* Revert "Default puma to running on localhost only. (#8429)"

This reverts commit 2a59c6a5e7ea1794232a12a3d0b46b24d8a9c858.
-rw-r--r--config/puma.rb3
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' }