So when setting up my ubuntu server. I was running into issues connecting from different machines on my local network. I ran a port scan using nmap to see that many ports were filtered. I tried many things, but in the end one simple command fixed it.
To make this, I followed the guide posted here. https://docs.portainer.io/v/ce-2.9/start/upgrade/docker The latest portainer at the time of writing is portainer version 2.14.1 please replace that string with the latest version when using the following commands.
To login to portainer, the instructions say to use https://localhost:9443 of course I’m logging in remotely, so I thought that I could just replace localhost with the ip address of my server, but that didn’t work, but port forwarding with an ssh tunnel did work. To forward the port, I had to run the following command
ssh -L localhost:9443:localhost:9443 [email protected]
in chrome: https://localhost:9443
Only after running that command, could I use the localhost address in chrome on my remote machine.