I’ve been adding portainer agents as endpoints (raspberry pi’s) through the interface.
The only problem i’m running into is that the endpoint only seems to work if i use the pi’s IP and port.
When attempting the http url (same one i use to ssh to it so im confident it is correct) and the port it seems to refuse to add it? It’s the hostname of the raspberry pi and there is a dns server in the network.
Ive tried altering multiple parts of the hostname nothing seems to work.
Instructions I used, Add Docker Endpoint - Documentation