启动Server时报错Exception in thread "main" java.net.BindException: Address already in use: bind

amos 2020-4-13 1057

Using JAVA_HOME:       "C:\Program Files\Java\jdk1.8.0_231"  Using WILDFIRECHATHOME:   "C:\Users\Administrator\Desktop\IM"                                                                 ()| |  | | / |()       | |     | |  \ \ /\ / /| || | / ` || |_ | || '_|/ \  / || ' \  / ` || |   \ V  V / | || || (| ||  || || |  |  / | ( | | | || (| || |    _/_/  |||| _,|||  ||||   \|  _||| || _,| \

Exception in thread "main" java.net.BindException: Address already in use: bind         at sun.nio.ch.Net.bind0(Native Method)         at sun.nio.ch.Net.bind(Unknown Source)         at sun.nio.ch.Net.bind(Unknown Source)         at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)         at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:128)         at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554)         at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258)         at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501)         at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486)         at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980)         at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250)         at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365)         at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)         at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)         at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462)         at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)         at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)         at java.lang.Thread.run(Unknown Source)

最新回复 (1)
  • HeavyRain 2020-4-13
    引用 2
    端口冲突,请检查一下哪个程序占用了,把它停掉。
返回