How to Access Services Running Inside WSL 2 from Other Devices in Your LAN

Поделиться
HTML-код
  • Опубликовано: 25 июн 2023
  • 🌍The text version of this video:
    🔹Accessing network apps running inside WSL2 from other machines.
    🔹Accessing network applications with WSL.
    🔹Connecting to WSL2 server via local network.
    🔹Accessing a WSL 2 distribution from your local area network.
    🔹Access a web application running in Ubuntu/WSL from other machines.
    🔹WSL2 - Access running server from other computer.
    🔹How to access service running on host from WSL2 on other computers.
    🔹Port Forwarding WSL 2 to Your LAN.
    🔹
    ---------
    wsl2 network configuration,
    wsl2 bridge network,
    accessing a wsl 2 distribution from your local area network (lan),
    wsl2 bridge network windows 11,
    wsl connect to windows localhost,
    wsl2 port forwarding,
    wsl2 localhost forwarding,
    wsl2 networking,
    #bonguides
  • НаукаНаука

Комментарии • 26

  • @Wongmc644
    @Wongmc644 9 месяцев назад +2

    The clearest most concise instructions. I got it working in 15 min. Thanks

    • @BonGuides
      @BonGuides  9 месяцев назад

      Glad it helped

  • @happymeatbeer9925
    @happymeatbeer9925 24 дня назад

    Thank you so much. That firewall thing have been messing up with me for so long.

  • @eivanmtzleal9547
    @eivanmtzleal9547 11 месяцев назад

    Great! Thank you so much! You saved me!

    • @BonGuides
      @BonGuides  11 месяцев назад

      Glad I could help!

  • @dev.ricardoluiz
    @dev.ricardoluiz 4 месяца назад

    Thanks, I was looking for that!

    • @BonGuides
      @BonGuides  4 месяца назад

      Glad I could help!

  • @Jumper300035
    @Jumper300035 5 месяцев назад

    Hey 2 Questions. Can I change the Ip of my Host machine? I am asking because I am having difficulties with Ros where your Ip needs to be specific

  • @36_azzamadnan28
    @36_azzamadnan28 8 месяцев назад

    Thanks, Worked!

    • @BonGuides
      @BonGuides  8 месяцев назад

      Glad it helped

  • @navr1111111111111111
    @navr1111111111111111 5 месяцев назад

    Having issues getting SSH working using this method.. Any tips? Trying to allow ssh access to the WSL instance running. SSHD is running on the Linux instance and I can access from the host machine with no issues.

  • @user-rf5io5lr7o
    @user-rf5io5lr7o 3 месяца назад

    "Hey everyone, I've been following some tutorials on using bettercap in Kali Linux on WSL, and I'm having trouble with the 'net.show' command. It's not listing all available network devices like it should. I've checked permissions and tried running it with sudo, but no luck. Any ideas on what might be causing this or how to fix it? Thanks in advance!

  • @PropviewzDeveloper
    @PropviewzDeveloper 2 месяца назад

    You just saved my headache

  • @backupmemories897
    @backupmemories897 3 месяца назад

    what if i want to open all? not just specific port

  • @lincontitan9327
    @lincontitan9327 6 месяцев назад

    you the best

    • @BonGuides
      @BonGuides  6 месяцев назад

      Glad it helped!

  • @ronny12301
    @ronny12301 6 месяцев назад

    Great video, but i have a question, is WSL IP static? if not, what happens if the IP changes?
    Do i need to run the same command every time?

    • @BonGuides
      @BonGuides  6 месяцев назад +1

      Is WSL IP static? if not, what happens if the IP changes? => It's static
      Do i need to run the same command every time? => No you don't, run once

    • @ronny12301
      @ronny12301 6 месяцев назад

      @@BonGuides thanks for the quick response

  • @phcarlos00027
    @phcarlos00027 11 месяцев назад

    cuando el pc se reinicia pierde el Wsl la ip entonces fallaria la asociacion por que tendra una nueva ip.. como solucionar esto?

    • @BonGuides
      @BonGuides  11 месяцев назад

      with WSL 2, the virtual IP of the instance is persistence.

  • @lucasmarcelo4849
    @lucasmarcelo4849 5 месяцев назад

    And then how to remover it?

    • @BonGuides
      @BonGuides  5 месяцев назад +1

      netsh interface portproxy delete v4tov4 listenport=80 listenaddress=0.0.0.0
      Don't forget change listenport and listenaddress to fits with yours.

    • @lucasmarcelo4849
      @lucasmarcelo4849 5 месяцев назад

      @@BonGuides Thanos my brother.