can you tell me how to use this in python i tried in my django_project startCommand: gunicorn django_project.wsgi:application --bind 0.0.00.:8080 and i specify PORT=8080 but still got this error: [2024-10-01 12:56:59 +0530] [90] [INFO] Starting gunicorn 20.0.4 [2024-10-01 12:56:59 +0530] [90] [INFO] Listening at: 0.0.0.0:10000 (90) [2024-10-01 12:56:59 +0530] [90] [INFO] Using worker: sync [2024-10-01 12:56:59 +0530] [91] [INFO] Booting worker with pid: 91 ==> Continuing to scan for open port 8080 (from PORT environment variable)...
Thanks for this! Any Idea how I can do this in a python application?
You are welcome, No idea, but have you tried using the same concept for the python application?
can you tell me how to use this in python
i tried in my django_project
startCommand: gunicorn django_project.wsgi:application --bind 0.0.00.:8080
and i specify PORT=8080
but still got this error:
[2024-10-01 12:56:59 +0530] [90] [INFO] Starting gunicorn 20.0.4
[2024-10-01 12:56:59 +0530] [90] [INFO] Listening at: 0.0.0.0:10000 (90)
[2024-10-01 12:56:59 +0530] [90] [INFO] Using worker: sync
[2024-10-01 12:56:59 +0530] [91] [INFO] Booting worker with pid: 91
==> Continuing to scan for open port 8080 (from PORT environment variable)...
What about python application 😢?
you can still try it and see if it's going to work!