딸기스무디

Pycharm/Intellij "java.net.BindException: Address already in use: bind"에러 본문

카테고리 없음

Pycharm/Intellij "java.net.BindException: Address already in use: bind"에러

strawberry-smoothie 2020. 1. 18. 22:29
Internal error. Please report to http://jb.gg/ide/critical-startup-errors

java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:461)
at java.base/sun.nio.ch.Net.bind(Net.java:453)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:132)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:563)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1332)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:503)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:488)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:984)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:259)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:366)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:405)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.lang.Thread.run(Thread.java:834)

-----
JRE 11.0.3+12-b304.10 amd64 by JetBrains s.r.o

pycharm, intellij가 정상적으로 실행되지 않을떄 해결법

 

1. cmd를 관리자모드로 실행

2.

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

3.

netsh int ipv4 add excludedportrange protocol=tcp startport=50051 numberofports=1

4. 

dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

 

 

출처: https://github.com/docker/for-win/issues/3171#issuecomment-459205576

Comments