SOLVED - THANKS EVERYONE
I have been hoping to figure this out by myself and a lot of reading, but so far I’ve either missed the obvious or something is blocking access. While searching, I’ve found a lot of threads and GitHub posts with similar issues, but none seem to apply for me, that I could find.
I have installed proxmox and docker etc. Following a couple of videos, initially I had Debian 12, then Nix and now Ubuntu, I get the same error every time.
I cannot access immich from web browser or my phone app. I can access and setup via localhost:2283
I am completely stumped as to where I should now be looking, would love if anyone could help me.
EDIT:
WOW!!! I wasn’t expecting fast answers nor as many on Lemmy.
🤯
Thanks everyone for replying. Unfortunately I get the same error with or without /API at the end. I know it’s something I’m doing/not doing, but I don’t know what. I was hoping to learn by teaching myself as I went along, but this has me stumped.
NEW EDIT:
Thank you everyone. I am able to access the Immich app now. I was using the incorrect IP address. I was using my ‘public IP address’. As a few mentioned, I used the command ip a in terminal and it gave me my public IP address, but further down another IP address that I hadn’t seen before, and that one worked. beginning with 192.168
Again a huge thanks to everyone, Lemmy here was a great help and I found replies and information a great help. :D I am chuffed to bits, but very tired, and a bit worried about what lays ahead for me with what else I may get stuck on, as that seemed like something I probably should have figured out… But if I didn’t know, I couldn’t…
Immich is now ‘building the timeline’ after succesfully logging in, and I am looking forward to learning more tomorrow and hosting other apps. Also checking out the scripts for proxmox.
Goodnight all :)
You haven’t really given enough information about your config to diagnose.
If you’re able to access it from your local network but not your outside network it’s a port forwarding/firewall or routing issue. My guess is it’s a firewall issue either on your network edge (likely integrated into your router) or on your server that’s hosting immich.
Unless you do one of the following you won’t be able to access it from outside your network:
-set up a VPN and tunnel into your network. Wireguard or tailscale/zerotier will be easiest.
-set up port forwarding correctly. Not my first choice, best to VPN in rather than poke holes in your firewall, especially if you’re a noob.
-set up a reverse proxy. This is a bit more complicated than a VPN or overlay VPN (tail scale etc), but it works fine and will be secure as well.
If you haven’t done one of those three things then you won’t be able to access anything from outside your network, for good reason - your firewall is by default set up to deny connections that are initiated from outside your network, so when you’re trying to connect from the outside it looks at your traffic trying to start a connection to your server and naw dawg’s it.
Edit: just saw from another comment you’re not able to connect from your home Wi-Fi. If that’s the case, are you running a VPN on your phone? That can cause problems. Have you tried using the server’s local IP instead of your external IP? 192.168.x.x most likely. You can try to disable the server’s firewall and see if that lets you connect as well. Is your server on the same subnet as your phone? 192.168.1.x and 192.168.2.x won’t talk unless you set your router up correctly.
Just shooting in the dark here without more info
Edit2: if you’re running inmich in a container or VM your configs on that might not be set up correctly to allow you to reach it as well. It can be a lot of things but my money is on firewall/routing somewhere. Start by making sure you’re trying to connect to the local IP of the server, then try to disable server firewall (don’t forget to enable it again whether that solves it or not), and see if that works.
I have tried to disable firewall while I was on Debian, but there didn’t seem to be one to disable. I don’t think there is one on Ubuntu either unless it’s by default?