WSL2 jupyter notebook open windows host

After WSL2 the installed jupyter notebook,
using open connection ip, execution

jupyter notebook --ip=0.0.0.0

Link,

Then open a new terminal,

ifconfig | grep 'inet'

Find ip of the top WSL2

Then in the windows browser, the localhost ip just replaced the WSL2, open the link

On it

Guess you like

Origin www.cnblogs.com/venusian/p/12593641.html