3 ms·
> Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port. An instruction on how to specify po
by drowntoge 2y ago
> Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port.
An instruction on how to specify port would be nice.
- RoseyWasTaken 2y agoThe docker-compose.yaml file is where you specify the ports you want to expose. It looks like by default it's 5000:5000 (5000 outside and inside the container). You will need to change it and then run docker-compose up -d. You can change it to something like 5133:5000 and access the instance through localhost:5133
- drowntoge 2y agoThank you for the tip! I ended up editing the port parameter in the app.run() call within portable.py and it worked. Felt like it might be a good idea to add this as a runtime argument for easier customization.