☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Deploying python bokeh to heroku

Community Support
Tapiwap
Tapiwap

Hello.

I’m having trouble uploading my bokeh app to heroku. I get this error: “error: unrecognized arguments: --port:14660.”

On my procfile, I have: “web: bokeh serve --port:$PORT --address=0.0.0.0 --num-procs=0 --allow-websocket-origin=* --use-xheaders main.py”

Can someone please tell me what I’m doing wrong.

Thank you :pray:

⌁   Link to post
samirak93
samirak93

As @carolyn mentioned, you wouldn’t need : after --port. Below code works fine for me. Replace app_name with your heroku app name.

web: bokeh serve --port=$PORT --allow-websocket-origin=app_name --address=0.0.0.0 --use-xheaders myapp

I’m not sure if main.py can be mentioned instead of myapp (bokeh server folder name).

⌁   Link to post

End of archived discussion · Replies are disabled