Windows 10: Can't connect to Windows network services from WSL2

Discus and support Can't connect to Windows network services from WSL2 in Windows 10 Customization to solve the problem; I have Ubuntu 18.04 running in WSL2, from which I want to connect to Docker Desktop running on Windows. From cmd.exe I see that Docker service is... Discussion in 'Windows 10 Customization' started by Mikhail Batcer, Jan 9, 2020.

  1. Can't connect to Windows network services from WSL2


    I have Ubuntu 18.04 running in WSL2, from which I want to connect to Docker Desktop running on Windows.


    From cmd.exe I see that Docker service is listening on 127.0.0.1:2375:

    C:\Windows\System32>curl 127.0.0.1:2375/info

    {"ID":"Z2IX:WLIX:FT2V:ZQYY:6222:M6Y6:EGZW:6D2G:EGVY:YABG:VYUM:MB2A","Containers":6,"ContainersRunning":2,"ContainersPaused":0

    ...


    But in WSL2, I got this output by `docker info`:

    `ERROR: Cannot connect to the Docker daemon at tcp://127.0.0.1:2375. Is the docker daemon running?`


    No connection to 127.0.0.1:2375 from WLS2:

    $ curl 127.0.0.1:2375

    curl: 7 Failed to connect to 127.0.0.1 port 2375: Connection refused


    The option "Expose daemon on tcp://localhost:2375 without TLS" is ticked.

    :)
     
    Mikhail Batcer, Jan 9, 2020
    #1
  2. Mel Tar Win User

    No network connection

    Hello Graham,

    To resolve your concern about wireless network issues, please click the link below and follow the suggested troubleshooting steps:

    Let us know how it goes.
     
    Mel Tar, Jan 9, 2020
    #2
  3. Network Connectivity

    Thanks for the quick response. Have you tried to follow and run all the steps provided on the link above?



    How are you trying to connect to the network? Wi-Fi / Lan?



    • If you’re trying to connect via Wi-Fi, kindly check if the Wi-Fi service is enabled on your computer.


    • If you’re connected via LAN, kindly unplug and re-plug the Ethernet cable connect from your computer to the router.


    To further isolate this issue, kindly try connecting another device on the Internet and check if the same issue occurs.



    Follow all the steps provided on the link below on how to fix network connection issues:





    If the issue still persists, contact your Internet service provider and have them check your network.



    Keep us posted.
     
    JericDale Ort, Jan 9, 2020
    #3
  4. Can't connect to Windows network services from WSL2

    Losing network connection

    Hello Dear, if you have a laptop or a PC with a wireless network adapter, you can see a list of available wireless networks and then connect to one of those networks. The wireless networks will only appear if your PC has a wireless network adapter installed, the adapter is turned on, and the wireless access point is in range.

    1. Click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.

    2. In the left pane, under Network Tasks, click View available wireless networks.
    In case, If you don't see the network you want to connect to, click Refresh network list. If you see the network but the signal is weak, move the PC closer to the wireless router.

    3. Click the network you want to connect to, and then click Connect.

    4. If you're connecting to a secure network, type the security key, and then click OK.

    I Hope you solve out your query soon.
     
    martinkaren77, Jan 9, 2020
    #4
Thema:

Can't connect to Windows network services from WSL2

Loading...
  1. Can't connect to Windows network services from WSL2 - Similar Threads - Can't connect network

  2. WSL2 unable to reach network

    in Windows 10 Gaming
    WSL2 unable to reach network: When I installed WSL2, my distros stopped being able to access the internet when I set them to version 2. After a lot of digging around, I realized that WSL2 uses the Hyper-V adapters for this and in my case the WSL adapter that was created, was set to internal. I had to...
  3. WSL2 unable to reach network

    in Windows 10 Software and Apps
    WSL2 unable to reach network: When I installed WSL2, my distros stopped being able to access the internet when I set them to version 2. After a lot of digging around, I realized that WSL2 uses the Hyper-V adapters for this and in my case the WSL adapter that was created, was set to internal. I had to...
  4. Cannot connect to WSL2 docker service from LAN, netsh portproxy already set

    in Windows 10 Software and Apps
    Cannot connect to WSL2 docker service from LAN, netsh portproxy already set: Hello, I recently started a docker service in my WSL2 ubuntu, and I would like to access it from my LAN devices, I followed the instructions in this article: https://learn.microsoft.com/en-us/windows/wsl/networking, ,my command was:netsh interface portproxy add v4tov4...
  5. Cannot connect to WSL2 docker service from LAN, netsh portproxy already set

    in Windows 10 Gaming
    Cannot connect to WSL2 docker service from LAN, netsh portproxy already set: Hello, I recently started a docker service in my WSL2 ubuntu, and I would like to access it from my LAN devices, I followed the instructions in this article: https://learn.microsoft.com/en-us/windows/wsl/networking, ,my command was:netsh interface portproxy add v4tov4...
  6. Can't Remove A VPN From Network Connections

    in Windows 10 Gaming
    Can't Remove A VPN From Network Connections: I was trying to open google to be able to be on 2 accounts on a website at once, but it would work. When i opened it, it would close right away. I found a website that showed how to make it work. I enabled chrome and google on the firewall thing but it still wouldn't work. So...
  7. Can't Remove A VPN From Network Connections

    in Windows 10 Network and Sharing
    Can't Remove A VPN From Network Connections: I was trying to open google to be able to be on 2 accounts on a website at once, but it would work. When i opened it, it would close right away. I found a website that showed how to make it work. I enabled chrome and google on the firewall thing but it still wouldn't work. So...
  8. Cannot Connect to Internet From WSL2

    in Windows 10 Network and Sharing
    Cannot Connect to Internet From WSL2: I could not be able to connect to internet from WSL2. WSL2 is freshly installed on a fresh installed copy of Windows 10 Pro insider.Pinging to any site shows 100% packet loss. I cannot install nor update anything. Internet is working fine on Windows. /etc/resove.conf...
  9. Can't Connect to service

    in Browsers and Email
    Can't Connect to service: Having this Issue since day 1, only Hotmail connected instantly all other wont connect giving one error to another few examples: [img] [img] This is happening with Gmail, in yahoo mail it connects but doesn't sync, and keeps asking for password after every 5 minutes....
  10. Windows Can't Connect to a Service

    in Windows 10 Support
    Windows Can't Connect to a Service: Every time, I boot up my sister's Acer Aspire 5749 Series Laptop, it says "Windows Can't Connect to a Service". Can someone assist me on fixing this issue, please? 23784