i just try to set gunicorn setting and wanted to removing 8000, i fallow all command but still gunicorn activation failed plz gave me solution for this error or where im gong wrong…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I’m not quite sure I understood, did you want to start gunicorn on another port rather than 8000 and it failed or it failed because you wanted to start it on port 8000.
If you wanted to start gunicorn on another port, I’ll recommend reading the Documentation Here. There are a couple of ways to do it explained in the docs. Here is one example
gunicorn --paste development.ini -b :8080 --chdir /path/to/project
You’ll, of course, need to change the /path/to/project with the actual path.
If you wanted to start it on port 8000 and it failed then, most probably something was already listening to that port. You can check that by running the following command on your droplet
netstat -tulpen | grep 8000
It will show you what’s listening on the said port.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.