I have been playing around with NextCloud using Docker Desktop on a Windows 10 computer. I ran into an issue with my NextCloud installation that I couldn’t fix, and so I decided to delete NextCloud and start fresh. When am following the NextCloud on Windows install guide to get it setup again.
After I run the listed command in command prompt, I get this error: “docker: Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:8080 → 0.0.0.0:0: listen tcp 0.0.0.0:8080: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.”
I go into Docker to see if I can get any more info on this error and see this notification: “(HTTP code 500) server error - Ports are not available: exposing port TCP 0.0.0.0:8080 → 0.0.0.0:0: listen tcp 0.0.0.0:8080: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.”
I have run a list of the processes that are using ports on the Windows machine and no listed processes are using the 8080 port.
I have not been able to find any useful information using Google, and would appreciate any help!
Looks like port 8080 has been use to other services. Try other port like 8081, 8082 or something.
You can check port is used or not using this command (Open Command Prompt and Run as administrator) netstat -a | findstr :{port}
example netstat -a | findstr :8080
where this message comes from? do you see it inside of the container (e.g. docker logs)? usually Nextclod images don’t expose port 8080. Please post you docker compose/command and logs…
I think I found what it was. I used the Resource Monitor in Windows to see what is listening to those ports, and turns out it is Calibre. Once I fix that, I should be good!