How to run both a flask and a socketio app at the same time

I am making a chat app with flask and flask_socketio, but it seems I cannot do'', port=8080) and at the same time. Is even possible to make something like what I want to make? Link to docs:

You are viewing a single comment. View All

Hi instead of doing do, host='', port=8080)