this post was submitted on 26 Jul 2023
0 points (NaN% liked)

Selfhosted

40347 readers
401 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
0
WSL and docker (lemmy.ml)
submitted 1 year ago* (last edited 1 year ago) by Waker@lemmy.ml to c/selfhosted@lemmy.world
 

Hi everyone!

I'm trying to get WSL and docker to work together. They kinda do at the moment, I installed an image of HomeAssistant but I noticed that I can't connect to it from Windows.

I've used the virtual adapter IP, localhost, 127.0.0.1 but nothing let's me get through it.

I did install debian instead of the default Ubuntu on windows since I've used debian before so I thought why not, and I'm wondering if that's what messed it up. After a quick Google search I found some people with the same issue but apparently this should've been fixed in newer Windows Updates (I think it was fixed back in 2020~2021).

Also, I just want to use WSL because it's easier from Windows imo but mostly just to test things :) I didn't even have anything to put on HAI just testing stuff really.

Edit: someone pointed out that I should use the HA app on windows. That's exactly what I am doing. Sorry if that isn't clear.

Windows 11 WSL enabled Docker Windows app installed.

you are viewing a single comment's thread
view the rest of the comments
[–] JoYo@lemmy.ml -1 points 1 year ago (2 children)

what IP is the service listening on? is that port exposed?

0.0.0.0 for all incoming.

[–] Waker@lemmy.ml 0 points 1 year ago* (last edited 1 year ago) (1 children)

That's a great question... But I have no clue if its exposed or not. The thing is, apparently they fixed it in a way that it should, in theory, work out of the box.

HomeAssistant should be running on 8123 if I'm not mistaken.

I've tried [virtual adapter]:8123 (not at my PC atm, don't know the op by heart sry) localhost:8123 and 127.0.0.1:8123

[–] JoYo@lemmy.ml -1 points 1 year ago

link the dockerfile