问题:报错unable to establish loopback connection
问题
Caused by: java.io.IOException: Unable to establish loopback connection at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:101) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:68) at java.security.AccessController.doPrivileged(Native Method) at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:170) at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at java.nio.channels.Pipe.open(Pipe.java:155) at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:127) at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:155) … 15 more Caused by: java.net.ConnectException: Connection timed out: connect at sun.nio.ch.Net.connect0(Native Method) at sun.nio.ch.Net.connect(Net.java:457) at sun.nio.ch.Net.connect(Net.java:449) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:647) at java.nio.channels.SocketChannel.open(SocketChannel.java:189) at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:130) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83) … 23 more
解决方案
关闭防火墙就好了!!!
关闭防火墙就好了!!!
关闭防火墙就好了!!!
问题:IDEA看不到编译后的target文件
问题
控制台提示编译成功,但左边视图没有显示target文件夹
问题:debugger启动tomcat 报错Address already in use: NET_Bind
问题:
Error running 'tomcat8': Unable to open debugger port (127.0.0.1:3690): java.net.BindException "Address already in use: NET_Bind"
这是在debugger模式下才出现的问题
很明显的问题,就是端口被占用,但是这个端口比较奇怪~
解决方案:
configuration–>startup/Connection–>debug–>修改端口 我的默认是3690 建议调整到1万~2万的端口