Is your feature request related to a problem? Please describe. although now windows can access wsl service with localhost:port via "localhostForwarding", but wsl cannot access windows service via localhost:port, please fix it, Thank you...
Going forward, you can create a tunnel from Windows to WSL if you need/want to uselocalhostin your proxy (see:netsh interface portproxycommand) Hope this helps. WSL Corsair @nunixcan you give us an example? For example; I am trying to access10134port from WSL.10134port is on Windows as...
对于你的问题,我猜测可能的原因是你的Spring应用试图在localhost(即127.0.0.1)上连接到数据库,但是由于WSL2和Windows主机在网络上是分隔的,所以它无法找到运行在Windows上的数据库。 在WSL2中,你可以通过特殊的IP地址来访问Windows主机。这个IP地址通常是 172.17.0.1,但可能会有所不同。你可以在WSL2中使用 cat /et...
方式了,那我们就用docker 方式试试。而且网上的安装教程也是docker 的居多【官方给出了一个教程】,我们也要与时俱进。 下面是我机器wslkernel的版本:可见是没有最新,只有更新哈! season@season:~$ uname-r5.10.16.3-microsoft-standard-WSL2 官方文档: https://docs.nvidia.com/cuda/wsl-user-guide/index.htm...
输入http://localhost 或者 http://127.0.0.1,然后回车 如果出现Welcome to nginx! 页面,说明 WSL 及 Nginx 服务器运行正常。 四、源码安装MySql8.0 1、下载 MySql8.0 打开mysql官网,社区版下载页,当前最新版本是 8.0.21,操作系统选择 Linux-Generic ,这里根据自己的系统选择下载文件:mysql-8.0.21-linux-glibc2.1...
My problem is that I cannot access the Docker container services from the host using the local IP (127.0.0.1, localhost, 192.168.0.9). The strange thing is that I can access them through my public IP over the Internet. Diagram: Windows 11 Host (Public IP: 10.20.30.40. Private...
1、su: warning: cannot change directory to/nonexistent: No such file or directory 解决方法: sudo service mysql stop sudo usermod -d /var/lib/mysql/ mysql sudo service mysql start 2、设置密码后,还可能登录不上去:ERROR 1698 (28000): Access denied for user 'root'@'localhost' 先用默认账户登...
Note: Normally, root should only be allowed to connect from ’localhost’. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? (Press y|Y for Yes, any other key for No) :n//是否不允许远程登录 ...
输入http://localhost 或者 http://127.0.0.1,然后回车 1. 2. 如果出现 Welcome to nginx! 页面,说明 WSL 及 Nginx 服务器运行正常。 四、源码安装 MySql8.0 1、下载 MySql8.0 打开mysql官网,社区版下载页,当前最新版本是 8.0.21,操作系统选择 Linux-Generic ,这里根据自己的系统选择下载文件:mysql-8.0.21...
Ubuntu18.04安装Mysql-5.7可以直接登录,而Ubuntu20.04安装Mysql-8.+时,可能会遇到su: warning: cannot change directory to/No such file or directory的bug。为解决此问题,需设置密码并修改默认账户登录。对于ERROR 1698 (28000): Access denied for user 'root'@'localhost',先查看默认账户,...