Open crispybegs opened 8 months ago
Your portainer stack itself might be listening on another port. Check the VIRTUAL_PORT=9000 environment variable of your portainer stack. The default is 9000 so you'll have to change your port mapping to 8000:9000 to get the URL http://192.168.1.14:8000 working.
hi all, i'd really like to try and get this working but I'm running into a bit of a wall. Whatever I try, I'm unable to connect to portainer.
Firstly, my portainer container has these ports:
.. so I presumed the
PORTAINER_BACKUP_URL
should be"http://192.168.1.14:8000
" (192.168.1.14
being the server it's on), however the logs showValidating portainer server failing with Request failed with status code 404
I tried
PORTAINER_BACKUP_URL: "http://portainer:8000"
but this produces an error ofgetaddrinfo EAI_AGAIN portainer
PORTAINER_BACKUP_URL: "http://portainer:9000"
also producesgetaddrinfo EAI_AGAIN portainer
PORTAINER_BACKUP_URL: "http://192.168.1.14:9000"
produces an error sayingECONNREFUSED 192.168.1.14:9000
My portainer container network is '
bridge
', so I tried putting portainer-backup also on thebridge
network, but it made no difference to the error messagesAt this point I'm stumped, so I must be missing something obvious. Any ideas? This is my compose, to help maybe spot what I've done wrong