Ports are not available

Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:80 → 0.0.0.0:0: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

i’ve already tried this:
$ OR_HOSTNAME=192.168.1.1 OR_SSL_PORT=8443 docker-compose -p openremote up -d

and i still get the same error. Please help. Thank you in advance.

Make sure no other service is working on port 80 and you have the right permissions over your machine.

Before restarting, you can try to stop all docker containers with

docker stop $(docker ps -a -q)

Hi. Thanks for the reply. Docker must run at port 80? Or can we change the docker port? Because there’s something running on my port 80 and I would like to keep this service running on port 80.

Yes you can change ports (unmap port 80 if necessary); port 80 is only used for auto TLS certificate generation. You can just use the built in self signed certificate or provide your own custom certificate(s).