django - python app not starting in visual studio -


i have created django python app, , when press f5 , pops python shell says

 available subcommands:  [auth] changepassword createsuperuser  [django] check compilemessages createcachetable dbshell diffsettings dumpdata flush inspectdb loaddata makemessages makemigrations migrate runfcgi shell showmigrations sql sqlall sqlclear sqlcustom sqldropindexes sqlflush sqlindexes sqlmigrate sqlsequencereset squashmigrations startapp startproject syncdb test testserver validate  [sessions] clearsessions  [staticfiles] collectstatic findstatic runserver press key continue . . . 

but not open browser , app not running, when hit key , stops app.

i wondering issue. weird thing few days ago app working fine , didn't after that.

i resolved issue. issue port 8000, system not allowing me access port number: 8000.

so went visualstudio ---->debug ----> project properties @ bottom ---> debug --->enter port number : 5000

and worked charm.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -