Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

Connection refused from localhost in wsl2 ubuntu

$
0
0

I try to test connection between windows 11 and wsl2 ubuntu in windows 11. First I install nginx on wsl2 ubuntu and type in 'localhost' on web browser on windows 11 . The connection is successful. And next I install tomcat on wsl2 ubuntu and open the 8080 port with the following command on wsl2 ubuntu

> sudo ufw allow 8080/tcp

And I make inbound rule which permit 8080 port on windows 11 firewall. But the connection was refused. How can I make the connection allowed between windows 11 and wsl2 ubuntu?


Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>