manage.py runserver
in flask using flask.ext.script, you can do it like this:
python manage.py runserver -h 127.0.0.1 -p 8000
I am running python manage.py runserver from a machine A
when I am trying to check in machine B.  The url I typed is http://A:8000/ .
I am getting an error like The system returned: (111) Connection refused