From c1aa329c613c6417b694f5bea3dd0676edf39830 Mon Sep 17 00:00:00 2001 From: Jez Caudle Date: Sat, 18 Feb 2023 13:22:05 +0000 Subject: [PATCH] Puma is now on all interfaces and port 3001 --- config/puma.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/puma.rb b/config/puma.rb index daaf036..82943c0 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -15,7 +15,7 @@ worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development" # Specifies the `port` that Puma will listen on to receive requests; default is 3000. # -port ENV.fetch("PORT") { 3000 } +port ENV.fetch("PORT") { 3001 } # Specifies the `environment` that Puma will run in. # @@ -41,3 +41,4 @@ pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" } # Allow puma to be restarted by `bin/rails restart` command. plugin :tmp_restart +bind 'tcp://0.0.0.0:3001'