Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
On “Testing the uWSGI Serving”
when I try to use the command:
uwsgi --socket 0.0.0.0:8000 --protocol=http -w wsgi
I get internal server error when I visit my VPS ip-addy at the port number.
In the terminal I get a slew of messages one of them being:
*** no app loaded. going in full dynamic mode ***
I can also only run python wsgi.py if I designate a host number (I put host=‘0.0.0.0’) in the app.run() call.
I’ve tried the command
uwsgi --socket 0.0.0.0:8000 --protocol=http -w wsgi
both designating a host number in wsgi.py and without assigning a host number and I get an interneral server error with both ways
hi, thanks for this very good guide.
Inside myproject.ini you specify this permission :chmod-socket = 660
and on this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-uwsgi-and-nginx-to-serve-python-apps-on-ubuntu-14-04
you specify this permission : chmod-socket = 664
What should I use 660 or 664 ?
thx
I am a beginner with respect to Python and Nginx.
In this tutorial, we are spawning 5 processes.
I followed the instructions, however I am now getting a 502 Bad Gateway error when I access my server.
Looking at the nginx error logs the problem is :
2015/05/25 23:44:14 [crit] 6438#0: *1 connect() to unix:/root/wehate/wehate.sock failed (13: Permission denied) while connecting to upstream, client: 2.28.73.184, server: server_domain_or_ip, request: "GET $
I thought the point of doing ‘setgid www-data’ was to be able to access the sock. Is there something that should be added to the upstart script that isn’t included here?
I am getting this error: unix:/home/mm/myproject/myproject.sock failed (2: No such file or directory) while connecting to upstream,
Any help, I followed the tutorial to the letter…
Hello, Thank you for this tutorial. All is working for me, but I can’t change the application name in wsgi.py and myproject.py if a replace “application” by “app” everywhere (like Flask’s homepage http://flask.pocoo.org/docs/0.10/quickstart/) I get an Internal Server Error. Even if a put debug=True in the application.run() I can’t have any explanation on what’s wrong.
Hello, I followed this tutorial but am having problems. I posted the full explanation on Stack Overflow.
Can anyone here help?
i finish all steps under root and finally have Error 502 Bad Gateway
Can anyone here help?