Multiple applications using different ports not running in flask
I am working on a project including text chat, video chat, and file transfer parallely using different ports in python. I am able to achieve this simply using threads in python and making a window with tkinter. But now, I want to put all this on a webpage. I am using flask for that. The problem here is:- flask uses a single port to run an application. How to host all the applications with different ports on a single webpage(threading gives me "address already defined error" error)?