Open ruobinLiu opened 3 years ago
I've moved this to aquarium-local
because this is set in the aquarium-local
scripts.
This error happens b/c you have something running that is using port 80 on your machine.
This could be a previously running instance of aquarium-local if you did not run aquarium.sh down
.
Or, it could be another service running that is using the port -- it is whatever you get when you visit localhost
in your browser.
In this second case, the best we can do is make it easier for you to change which port aquarium-local
is using.
For instance, if we changed it to port 81, you would open localhost:81
with your browser.
@ruobinLiu can you confirm whether you have a different service running?
I've confirmed that Docker is using port 80 because I followed a tutorial on how to use Docker before I tried aquarium. I would like to switch to port 81 for aquarium as you suggested since I may need to refer back to the tutorial in the future. Thank you so much @bjkeller
I've tried aquarium with port 80, I have to say I like aquarium and would be very likely to use it for my project! But it would be very helpful to have aquarium switched to port 81 in a long term. I wonder if you could please help me with that? Thank you!
The aquarium.sh script manages a .env
text file in the directory that has this set.
A quick strategy is to edit that file and change the value on the line
APP_PUBLIC_PORT=80
As is, the script will not change values set in the .env
file.
Describe the bug Aquarium-local has port issue: bind for 0.0.0.80 failed as the port 80 is already allocated.
To Reproduce I followed the instruction to install the aquarium from https://aquariumbio.github.io/aquarium-local/, and ./aquarium.sh up gives me the error.
Expected behavior I would expect to install it without any error.
Screenshots If applicable, add screenshots to help explain your problem.
Computer/Device (please complete the following information):
Additional context Add any other context about the problem here.