dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CjqDy (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] CjqDy opened issue #3832: spring boot Dubbo + nacos 启动端口占用问题
Date Tue, 09 Apr 2019 03:39:20 GMT


### Environment

* Dubbo version: com.alibaba.dubbo 2.6.5
* Operating System version: win10
* Java version: 1.8_

### Steps to reproduce this issue

spring boot dubbo + nacos 启动消费者的时候,报Address already in use: bind
我确定端口没有被占用,无论换成什么端口都没用,但是消费者还是启动成功的

java.net.BindException: Address already in use: bind
	at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_65]
	at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_65]
	at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_65]
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[na:1.8.0_65]
	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:130)
~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562) ~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1358)
~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501)
~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486)
~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:1019) ~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:258) ~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:366) ~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:474) ~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:909)
~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
~[netty-all-4.1.32.Final.jar:4.1.32.Final]
	at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_65]



[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3832 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
Mime
View raw message