immich docker service not accessible by other devices on LAN.

Hi, I have a docker desktop v4.36.0 (175267) running on windows 11. The docker compose file has configuration for exposing port 2283. The network is default while building the docker container i.e., "immich_default" bridge driver. I am able to connect and access the web page of immich from mu machine by navigating to localhost:2283 or 192.168.0.100:2283 even before explicitly allowing windows firewall rule. I have setup a windows firewall rule to allow all tcp traffic to 2283 on my host machine (inbound). However, im unable to connect to http://192.168.0.100:2283/api from my phone which is connected to the same network Static IP is assigned to my host machine on my router. immich server: 192.168.0.100 on 2283 adjacent mobile device: 192.168.0.116 this has been bugging me and its not the router as i have tested with a simple http server [python -m http.server 8000] on my host machine and im able to navigate to 192.168.0.100:8000 and see the directory listing. please help. thanks.
14 Replies
Immich
Immich5mo ago
:wave: Hey @CausticFartz, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
CausticFartz
CausticFartzOP5mo ago
version info: Immich v1.123.0 ExifTool 12.99 Node.js v22.12.0 Libvips 8.15.3 ImageMagick 7.1.1-40 FFmpeg 7.0.2-7 Repository immich-app/immich Source v1.123.0@fd34a914a Build 12377454804 Build Image v1.123.0 Version History Installed 1.123.0 on Dec 29, 2024
Mraedis
Mraedis5mo ago
It's windows being a pain in the butt and noone has a concrete guide on how to fix this here. If you figure it out let us know
CausticFartz
CausticFartzOP5mo ago
damn its a known issue and many people face it? i actually faced same issue for my navidrome container. I didn't give it much of a thought and have been using a vpn for that
Mraedis
Mraedis5mo ago
We discourage windows for a number of reasons and this is one of them yes
CausticFartz
CausticFartzOP5mo ago
Hmm one way i can possibly think to solve this with is possibly using host or macvlan driver? Would that solve it?
Zeus
Zeus5mo ago
Maybe but we don’t really have a solution like we said
CausticFartz
CausticFartzOP5mo ago
I will try and update here. Hoping for the best I tried ipvlan l2 and l3 and macvlan and also host. All of them fail. I guess windows is just the base of this problem.
Stevan
Stevan5mo ago
I have joined the party. Just exactly same problem. I can access Immich through Brave on my phone but when I provide same address to Immich app - cant connect. First thought its because of Huawei (no google) phone but as I see it here, it makes me sad panda @CausticFartz did you try to access your server through browser or just application on your phone?
Zeus
Zeus5mo ago
If it works on your phone browser this is different.Please make a new ticket and include screenshots with the full url of both app and browser on same device.
Stevan
Stevan5mo ago
Alright thanks a lot for your reply. Will do it tomorrow as it's a bit late here 🙂
Zeus
Zeus5mo ago
I can tell you it’s either you’re not using the same URL (care for http vs https and the port) or you’re not connecting direct to immich, but to some web UI in front of it (commonly seen on NAS)
Stevan
Stevan5mo ago
Woah you are a genius Thanks a ton I blame long night... 🙂
CausticFartz
CausticFartzOP4mo ago
@Stevan were you able to connect from phone on LAN and the immich server is on docker desktop windows host? if so, what is the docker network model that is present? you can share the docker network inspect immich_server or docker network inspect nameofyourcontainer @Zeus @Mraedis - i migrated the entire infra to a linux env and its working like a charm now.

Did you find this page helpful?