Hi
i have host machine with docker
currently my host machine include next configuration : 2 containers
- Nginx container with port 80 (0.0.0.0:80)
- Elastic Search container with port 9200 (0.0.0.0:9200)
i use Nginx for reverse proxy for access my elastic search container
currently i try add new container with listener to port 80 , because it’s already taken by Nginx
i try start new container with listener to only local address (127.0.0.1)
docker run -d -p 127.0.0.1:80:8080 -p 127.0.0.1:5666:5666 -p 127.0.0.1:5667:5667 --name nagiosxi XXXXX
but i receive everytime error listen tcp 127.0.0.1:80: bind: address already in use.
I’d be happy to get help what the problem might be .
Tnx