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'