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

Connecting from windows to Java application running in WSL2 : refused to connect #7762

Closed
1 of 2 tasks
sachinp97 opened this issue Nov 27, 2021 · 1 comment
Closed
1 of 2 tasks

Comments

@sachinp97
Copy link

Version

Microsoft Windows [Version 21H2]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.4.72

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

Hi There,
I am not able to access a java webservice running in WSL2 from windows.

  1. Run a server using Quarkus framework on ports 8080, 5009
  2. Try to access it on http://172.30.213.182:5009 using edge browser.

Firewall rules are enabled for ports, "IP Helper service" is disabled too.
$ ifconfig eth0 | grep 'inet '
inet 172.30.213.182 netmask 255.255.240.0 broadcast 172.30.223.255

Virus protection firewall disabled too, but not helpful.

I can access the web service from WSL2 though.

Expected Behavior

Able to access the web service

Actual Behavior

"172.30.213.182 refused to connect"

Diagnostic Logs

No response

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

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

1 participant