diff --git a/deploy/docker/fs/opt/appsmith/run-java.sh b/deploy/docker/fs/opt/appsmith/run-java.sh index c1a6d0745e..99ec07dde0 100755 --- a/deploy/docker/fs/opt/appsmith/run-java.sh +++ b/deploy/docker/fs/opt/appsmith/run-java.sh @@ -54,7 +54,7 @@ if [[ $proxy_configured == 1 ]]; then fi # Wait until RTS started and listens on port 8091 -while ! curl --fail --silent localhost/rts-api/v1/health-check; do +while ! curl --fail --silent localhost:"${APPSMITH_RTS_PORT:-8091}"/rts-api/v1/health-check; do echo 'Waiting for RTS to start ...' sleep 1 done