We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec1db1 commit b031ce2Copy full SHA for b031ce2
1 file changed
config/puma.rb
@@ -2,9 +2,8 @@
2
3
# Puma configuration file for ProStaff API
4
5
-# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
6
# Bind to 0.0.0.0 to allow external connections (required for Docker/Railway)
7
-port ENV.fetch('PORT', 3000)
+# Note: Use bind instead of port to avoid double-binding issues
8
bind "tcp://0.0.0.0:#{ENV.fetch('PORT', 3000)}"
9
10
# Specifies the `environment` that Puma will run in.
0 commit comments