Connection refused from localhost in wsl2 ubuntu | pressku.com

Trending 3 months ago

I effort to trial relationship betwixt windows 11 and wsl2 ubuntu successful windows 11. First I instal nginx connected wsl2 ubuntu and type successful 'localhost' connected web browser connected windows 11 . The relationship is successful. And adjacent I instal tomcat connected wsl2 ubuntu and unfastened nan 8080 larboard pinch nan pursuing bid connected wsl2 ubuntu

> sudo ufw let 8080/tcp

And I make inbound norm which licence 8080 larboard connected windows 11 firewall. But nan relationship was refused. How tin I make nan relationship allowed betwixt windows 11 and wsl2 ubuntu?

More
close