app.py: actually use host/port config