I have a Jupyter lab installed on Windows. I installed Jupyter Lab on WSL Ubuntu. I can lunch Jupyter Lab from Linux terminal. This will open Jupyter Lab on Chrome browser
WSL 2 issues a dynamic IP address each time you launch WSL 2 -- see MSFT docs.
Personally, I run a Python command within a subshell to print that IP:
jupyter lab --ip $(python3 -c "import subprocess; subprocess.run(['hostname', '-I'], text=True).stdout")
This works for me on Ubuntu 20.04 and Windows 10 build 19041.329.
Note: You'll likely have to visit that IP address instead of localhost, plus the port through which you're running Jupyter, e.g. http://:8888 .
To get my IP address via the CLI I use:
ip addr | grep eth0 | grep inet
I choose the first IP address available, typically using that address without the subnet mask, i.e. the forward slash + number.