#WSL - Network access

1 messages · Page 1 of 1 (latest)

quiet falcon
#

I used the WSL to run the docker compose and .env file which is the same posted on the installation guide. I was able to get the docker running and access it using the localhost:2283. However when I try to access from other computers in the same network, I get a page can't be reached - timeout error.

Infact I can't use ip on the same docker system to bring up the webpage. It only works on localhost.

I understand this has to do which choosing a network mode to run the docker - which I'm not sure of.

#1049703391762321418 #wsl #netwokaccess

mossy plazaBOT
#

:wave: Hey @quiet falcon,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich :immich:.

References

Checklist

  1. :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: I have read applicable release notes.
  3. :blue_square: I have reviewed the FAQs for known issues.
  4. :blue_square: I have reviewed Github for known issues.
  5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :blue_square: I have 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)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

dusk turtle
#

what is the IP address of the machine?

odd pier
#

Not a firewall issue?

dusk turtle
#

did you use the IP address or you are using localhost on other machine?

quiet falcon
quiet falcon
odd pier
quiet falcon
odd pier
#

Maybe? https://forums.docker.com/t/cant-connect-to-wsl2-based-container-via-the-web-browser/136831/3

Seems like you need to port forward from WSL to Windows possibly?

quiet falcon
#

Thanks. I will check this out!

quiet falcon
#

this command actually worded for me, i was able to connect to the app from the local network,
netsh interface portproxy add v4tov4 listenport=2283 listenaddress=192.168.1.37 connectport=2283 connectaddress=127.0.0.1

valid wharf
#

@bright scroll