When trying to run my code, I get this error:
ConnectionError: Port 5000 is already opened on 127.0.0.1.
You have another server application running on the same port.
Does anyone know what should be the solution?
When trying to run my code, I get this error:
ConnectionError: Port 5000 is already opened on 127.0.0.1.
You have another server application running on the same port.
Does anyone know what should be the solution?
Copyright © 2021 Jogjafile Inc.
You already have an application that runs using port 5000 and your current application attempts to use the same port. The first option that you have is to find out what is running and using your port and change that. This is very much dependent on your operating system which you did not mention. If you need further instructions on that, you will need to provide your OS as well.
Your second and possibly more convenient option is to change the port Taipy will use. See https://docs.taipy.io/en/release-1.0/manuals/gui/configuration/
Gui.run() has the declaration of
and if you read more, you will see this about
kwargs:I am not a Taipy expert to put it mildly, but I found this example where a different port is being set:
here: https://nphchi223.medium.com/suicide-rate-analysis-interactive-dashboard-with-taipy-in-2-hours-36ab38e499d0
Apparently the parameters that you pass are comma-separated and you can specify
portto be equal to a number