每次我重新启动我的笔记本电脑和intellij idea IDE,我得到以下错误:
这发生在想法试图索引时。
Abnormal build process termination:
C:\Windows\system32\wsl.exe --distribution Ubuntu --exec /bin/bash -l -c "cd ....
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.openapi.diagnostic.JulLogger (file:/root/.cache/JetBrains/IntelliJIdea2023.2/compile-server/jps-IU-232.10203.10/util-8.jar) to field java.lang.ApplicationShutdownHooks.hooks
WARNING: Please consider reporting this to the maintainers of com.intellij.openapi.diagnostic.JulLogger
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Build process started. Classpath: /root/.cache/JetBrains/IntelliJIdea2023.2/compile-server/jps-IU-232.10203.10/jps-launcher.jar
Error connecting to 172.....:61....; reason: connection timed out: /172......1:61...
io.netty.channel.ConnectTimeoutException: connection timed out: /172....:61....
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:261)
at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:153)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.lang.Thread.run(Thread.java:829)
Exiting.
Cannot establish network connection from WSL to Windows host (could be blocked by firewall). More details: https://jb.gg/wsl-firewall
字符串
作为一种变通方法,我按照https://jb.gg/wsl-firewall中的说明执行了该步骤,它可以正常工作。但每次重启机器时我都必须这样做。我需要知道,我们可以永久禁用intellij idea IDE和WSL进程的防火墙规则吗?
1条答案
按热度按时间ds97pgxw1#
这是Microsoft WSL中的已知问题,尚未修复,请查看https://github.com/microsoft/WSL/issues/4139#issuecomment-1200345491作为解决方法。