Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to portainer server failed! #19

Open
KTac opened this issue Jun 9, 2024 · 1 comment
Open

Connection to portainer server failed! #19

KTac opened this issue Jun 9, 2024 · 1 comment

Comments

@KTac
Copy link

KTac commented Jun 9, 2024

I am trying to set up portainer-backup as a Docker container for scheduled backups on a Raspberry Pi 4. I have changed my Portainer host name to controller. The command I am running is:

docker run \
  -d \
  --name remoteit \
  --hostname controller \
  -v $PWD/remoteit:/etc/remoteit \
  -e R3_REGISTRATION_CODE="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" \
  --restart unless-stopped \
  remoteit/remoteit-agent:latest

However, this is what I get when I run it:

image

Pinging 'controller' on the device gets a response from 127.0.0.1 as expected and Portainer is using port 9000 so I'm not sure why it can't be found. If I change the hostname value to localhost or 127.0.0.1 the error changes to connection refused.

image

I've set up portainer-backup before and it went very smoothly. I can't figure out why I'm running into trouble this time. Please help.

@poudenes
Copy link

Reboot by Synology because of a update and now I have exact same issue.. Worked for months....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants