Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to WSL Services with Other Devices #2172

Closed
ChillingVan opened this issue May 30, 2017 · 3 comments
Closed

Connect to WSL Services with Other Devices #2172

ChillingVan opened this issue May 30, 2017 · 3 comments

Comments

@ChillingVan
Copy link

ChillingVan commented May 30, 2017

Hi.

My Windows version is 10.0.15063.

I start service in WSL. But it does not have outside IP address. So when I use an outside device, for example, a phone , cannot connect to the service in WSL.

These are service in WSL. And I can connect them in my computer locally. But the other devices in LAN cannot.
协议 本地地址 外部地址 状态 PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 11652
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 652
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1536 0.0.0.0:0 LISTENING 764
TCP 0.0.0.0:1537 0.0.0.0:0 LISTENING 1492
TCP 0.0.0.0:1538 0.0.0.0:0 LISTENING 1616
TCP 0.0.0.0:1539 0.0.0.0:0 LISTENING 2744
TCP 0.0.0.0:1542 0.0.0.0:0 LISTENING 840
TCP 0.0.0.0:1556 0.0.0.0:0 LISTENING 884
TCP 0.0.0.0:1583 0.0.0.0:0 LISTENING 4072
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 4072
TCP 0.0.0.0:8989 0.0.0.0:0 LISTENING 11652
TCP 0.0.0.0:19305 0.0.0.0:0 LISTENING 11652
TCP 0.0.0.0:27036 0.0.0.0:0 LISTENING 11468

Anyone can help? Thanks!!


Thanks to everyone! When I close firewall or set allow specific port , it works. And set special port is better. Then I do not need to close the firewall.
About how to set specific port , see
http://www.thewindowsclub.com/block-open-port-windows-8-firewall

@laurinkeithdavis
Copy link

But it does not have outside IP address.
It should have the same IP address configuration as Windows (basically):

image

@sunjoong
Copy link

I can connect them in my computer locally. But the other devices in LAN cannot.

@ChillingVan - Those videos might be helpful, I guess;

@ChillingVan
Copy link
Author

Thanks to everyone! When I close firewall or set allow special port , it works. And set special port is better. Then I do not need to close the firewall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants