python - error: 502 bad gateway in flask app on nginx and uwsgi -


i deploying flask app on ubuntu server using nginix, uwsgi. followed tutorial... http://www.soundrenalin.com/about

i beginner in nignix , sys admin.

but when run app gives error: 502 bad gateway

i looked log file , says:

starting uwsgi 1.2.3-debian (32bit) on [sun may 19 05:39:19 2013]  ***compiled version: 4.7.1 on 17 september 2012 17:20:40 detected number of cpu cores: 1 current working directory: /etc/uwsgi/apps-enabled detected binary path: /usr/bin/uwsgi-core memory page size 4096 bytes detected max file descriptor number: 1024 lock engine: pthread robust mutexesunlink(): operation not permitted [socket.c line 75] bind(): address in use [socket.c line 107] removed uwsgi instance flaskapp.ini 

why happening? please suggest

take @ new docs in same url (https://github.com/kholidfu/serverthings/blob/master/serversetup.org). it's in indonesian, there code snippet everywhere, hope can understand it


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -