Allow port selection for public_app.py.