python flask running in one port connected to UI running in node server different port
If you are just debugging try to adjust the port on the side of the chat window. You can tell the chat window to reach a certain port by altering the url you are trying to reach. Example:
http://your_ip:your_port/your_route or in your case http://your_ip:8085/your_route
If you are already deployed please talk to your admin since this might be depending on your server.
The website is running using node server. I want to create a python flask rest api to connect to pop up chat window of this website.My python flask is running in 8085 port and node server is running in 8082 port.
in python flask app.py 

@app.route('/') 
  def hello_world():
      return render_template('popupchat.html') 
@app.route('/chat',methods=["POST"]) def chat():

this popupchat.html is pointing to website pupupchat window. and there is one bind.js script having  $.post("/chat" , if i want to connect this pop up chat window running in node server to python flask server , how i will connect .
i appreciate your suggestions