Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

use localhost instead of 127.0.0.1 in puma config

Ivan Kuchin03273b93706b
diff --git a/config/puma.rb b/config/puma.rb
index 2b9f7a1fcba..8f225b55914 100644
--- a/config/puma.rb
+++ b/config/puma.rb
@@ -7,8 +7,8 @@ threads_min_count = OpenProject::Configuration.web_min_threads
threads_max_count = OpenProject::Configuration.web_max_threads
threads threads_min_count, [threads_min_count, threads_max_count].max
-# Specifies the address on which Puma will listen on to receive requests; default is 127.0.0.1.
-set_default_host ENV.fetch("HOST") { "127.0.0.1" }
+# Specifies the address on which Puma will listen on to receive requests; default is localhost.
+set_default_host ENV.fetch("HOST") { "localhost" }
# Specifies the port that Puma will listen on to receive requests; default is 3000.
port ENV.fetch("PORT") { 3000 }.to_i