macOS-port-note.rst 685 B

12345678910
  1. .. note:: For newer versions of macOS, port 5000 is in use by default by Control Center.
  2. You can turn this off by going to System Preferences > Sharing and untick the "Airplay Receiver" box.
  3. If you don't want to do this for some reason, you can change the port for locally running FlexMeasures by setting the ``FLASK_RUN_PORT`` environment variable.
  4. For example, to set it to port 5001:
  5. .. code-block:: bash
  6. $ export FLASK_RUN_PORT=5001 # You can also add this to your local .env
  7. If you do this, remember that you will have to go to http://localhost:5001 in your browser when you want to inspect the FlexMeasures UI.