route.exe print shows the network routing configuration in the Windows hostīased on the Microsoft documentation, you may set the DISPLAY variable checking the nameserver in the /etc/nf file.ipconfig.exe shows the all the IP configuration in the Windows host.cat /etc/nf shows the IP address of the eth0 interface in Windows.You may run the following commands in your WSL Linux: There are many ways to determine the IP addresses in the Windows host. To access networking apps running on the Windows Host you must use the Windows IP address.Ĭhecking the IP address of the Windows host ![]() In WSL2, Linux runs on a lightweight virtual machine and has a different IP address.In WSL1, Linux uses the same IP addresses than the Windows host, then, you can access the applications using localhost or 127.0.0.1.You must consider the differences to access networking apps running on Windows and on Linux: The networking subsystem in WSL2 is different than the used in WSL1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |