dubbo启动监控中心后,再启动服务提供者,为啥总报地址占用?

为啥爆的是20880?
我已经把提供者的端口改成20881了啊,为啥启动还是报这个错

2023-03-16 16:49:41.521  INFO 17440 --- [           main] org.apache.curator.utils.Compatibility   : Running in ZooKeeper 3.4.x compatibility mode

2023-03-16 16:49:41.536 INFO 17440 --- [ main] o.a.c.f.imps.CuratorFrameworkImpl : Starting

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:zookeeper.version=3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf, built on 03/06/2019 16:18 GMT

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:host.name=suiwei-pc

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.version=1.8.0_201

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.vendor=Oracle Corporation

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.home=C:\Program Files\Java\jdk1.8.0_201\jre

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.class.path=C:\Program Files\Java\jdk1.8.0_201\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\rt.jar;D:\demo\cloud-demo\dubbo-provider\target\classes;D:\demo\cloud-demo\common-api\target\classes;D:\maven\repository\org\springframework\boot\spring-boot-starter-web\2.3.9.RELEASE\spring-boot-starter-web-2.3.9.RELEASE.jar;D:\maven\repository\org\springframework\boot\spring-boot-starter\2.3.9.RELEASE\spring-boot-starter-2.3.9.RELEASE.jar;D:\maven\repository\org\springframework\boot\spring-boot\2.3.9.RELEASE\spring-boot-2.3.9.RELEASE.jar;D:\maven\repository\org\springframework\boot\spring-boot-autoconfigure\2.3.9.RELEASE\spring-boot-autoconfigure-2.3.9.RELEASE.jar;D:\maven\repository\org\springframework\boot\spring-boot-starter-logging\2.3.9.RELEASE\spring-boot-starter-logging-2.3.9.RELEASE.jar;D:\maven\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\maven\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\maven\repository\org\apache\logging\log4j\log4j-to-slf4j\2.13.3\log4j-to-slf4j-2.13.3.jar;D:\maven\repository\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;D:\maven\repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\maven\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\maven\repository\org\springframework\spring-core\5.2.13.RELEASE\spring-core-5.2.13.RELEASE.jar;D:\maven\repository\org\springframework\spring-jcl\5.2.13.RELEASE\spring-jcl-5.2.13.RELEASE.jar;D:\maven\repository\org\yaml\snakeyaml\1.26\snakeyaml-1.26.jar;D:\maven\repository\org\springframework\boot\spring-boot-starter-json\2.3.9.RELEASE\spring-boot-starter-json-2.3.9.RELEASE.jar;D:\maven\repository\com\fasterxml\jackson\core\jackson-databind\2.11.4\jackson-databind-2.11.4.jar;D:\maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.11.4\jackson-annotations-2.11.4.jar;D:\maven\repository\com\fasterxml\jackson\core\jackson-core\2.11.4\jackson-core-2.11.4.jar;D:\maven\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.4\jackson-datatype-jdk8-2.11.4.jar;D:\maven\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.4\jackson-datatype-jsr310-2.11.4.jar;D:\maven\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.4\jackson-module-parameter-names-2.11.4.jar;D:\maven\repository\org\springframework\boot\spring-boot-starter-tomcat\2.3.9.RELEASE\spring-boot-starter-tomcat-2.3.9.RELEASE.jar;D:\maven\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.43\tomcat-embed-core-9.0.43.jar;D:\maven\repository\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;D:\maven\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.43\tomcat-embed-websocket-9.0.43.jar;D:\maven\repository\org\springframework\spring-web\5.2.13.RELEASE\spring-web-5.2.13.RELEASE.jar;D:\maven\repository\org\springframework\spring-beans\5.2.13.RELEASE\spring-beans-5.2.13.RELEASE.jar;D:\maven\repository\org\springframework\spring-webmvc\5.2.13.RELEASE\spring-webmvc-5.2.13.RELEASE.jar;D:\maven\repository\org\springframework\spring-aop\5.2.13.RELEASE\spring-aop-5.2.13.RELEASE.jar;D:\maven\repository\org\springframework\spring-context\5.2.13.RELEASE\spring-context-5.2.13.RELEASE.jar;D:\maven\repository\org\springframework\spring-expression\5.2.13.RELEASE\spring-expression-5.2.13.RELEASE.jar;D:\maven\repository\org\apache\dubbo\dubbo-spring-boot-starter\3.1.0\dubbo-spring-boot-starter-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-spring-boot-autoconfigure\3.1.0\dubbo-spring-boot-autoconfigure-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-spring-boot-autoconfigure-compatible\3.1.0\dubbo-spring-boot-autoconfigure-compatible-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo\3.1.0\dubbo-3.1.0.jar;D:\maven\repository\com\alibaba\spring\spring-context-support\1.0.10\spring-context-support-1.0.10.jar;D:\maven\repository\org\javassist\javassist\3.28.0-GA\javassist-3.28.0-GA.jar;D:\maven\repository\io\netty\netty-all\4.1.59.Final\netty-all-4.1.59.Final.jar;D:\maven\repository\com\google\code\gson\gson\2.8.6\gson-2.8.6.jar;D:\maven\repository\com\alibaba\fastjson\1.2.83\fastjson-1.2.83.jar;D:\maven\repository\com\alibaba\fastjson2\fastjson2\2.0.7\fastjson2-2.0.7.jar;D:\maven\repository\org\apache\dubbo\dubbo-registry-zookeeper\3.1.0\dubbo-registry-zookeeper-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-registry-api\3.1.0\dubbo-registry-api-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-common\3.1.0\dubbo-common-3.1.0.jar;D:\maven\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;D:\maven\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;D:\maven\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;D:\maven\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;D:\maven\repository\org\apache\dubbo\dubbo-cluster\3.1.0\dubbo-cluster-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-rpc-api\3.1.0\dubbo-rpc-api-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-container-api\3.1.0\dubbo-container-api-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-metadata-api\3.1.0\dubbo-metadata-api-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-remoting-zookeeper\3.1.0\dubbo-remoting-zookeeper-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-remoting-api\3.1.0\dubbo-remoting-api-3.1.0.jar;D:\maven\repository\org\apache\dubbo\dubbo-serialization-api\3.1.0\dubbo-serialization-api-3.1.0.jar;D:\maven\repository\org\apache\curator\curator-recipes\4.0.1\curator-recipes-4.0.1.jar;D:\maven\repository\org\apache\curator\curator-framework\4.0.1\curator-framework-4.0.1.jar;D:\maven\repository\org\apache\curator\curator-client\4.0.1\curator-client-4.0.1.jar;D:\maven\repository\com\google\guava\guava\29.0-jre\guava-29.0-jre.jar;D:\maven\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\maven\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\maven\repository\org\checkerframework\checker-qual\2.11.1\checker-qual-2.11.1.jar;D:\maven\repository\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;D:\maven\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\maven\repository\org\apache\zookeeper\zookeeper\3.4.14\zookeeper-3.4.14.jar;D:\maven\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\maven\repository\com\github\spotbugs\spotbugs-annotations\3.1.9\spotbugs-annotations-3.1.9.jar;D:\maven\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\maven\repository\jline\jline\0.9.94\jline-0.9.94.jar;D:\maven\repository\org\apache\yetus\audience-annotations\0.5.0\audience-annotations-0.5.0.jar;D:\maven\repository\io\netty\netty\3.10.6.Final\netty-3.10.6.Final.jar;D:\maven\repository\org\apache\curator\curator-x-discovery\4.0.1\curator-x-discovery-4.0.1.jar;D:\maven\repository\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;D:\maven\repository\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;D:\maven\repository\org\projectlombok\lombok\1.18.18\lombok-1.18.18.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2022.3.2\lib\idea_rt.jar

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.library.path=C:\Program Files\Java\jdk1.8.0_201\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\apps\oracle\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk1.8.0_201\bin;C:\Program Files\Java\jdk1.8.0_201\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\VanDyke Software\Clients\;C:\apps\apache-maven-3.2.5\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\PuTTY\;C:\Program Files (x86)\NetSarang\Xmanager 7\;C:\Program Files (x86)\NetSarang\Xshell 7\;C:\Program Files (x86)\NetSarang\Xftp 7\;C:\Program Files (x86)\NetSarang\Xlpd 7\;C:\Program Files\nodejs\;C:\Program Files\nodejs\node_global;C:\Program Files\Git\bin;C:\Users\suiwei\AppData\Local\Microsoft\WindowsApps;C:\Users\suiwei\AppData\Local\Programs\Fiddler;C:\Users\suiwei\AppData\Local\Microsoft\WindowsApps;C:\Users\suiwei\AppData\Roaming\npm;;C:\Users\suiwei\AppData\Local\Programs\Microsoft VS Code\bin;.

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.io.tmpdir=C:\Users\suiwei\AppData\Local\Temp\

2023-03-16 16:49:41.540 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.compiler=<NA>

2023-03-16 16:49:41.541 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.name=Windows 10

2023-03-16 16:49:41.541 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.arch=amd64

2023-03-16 16:49:41.541 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.version=10.0

2023-03-16 16:49:41.541 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.name=suiwei

2023-03-16 16:49:41.541 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.home=C:\Users\suiwei

2023-03-16 16:49:41.541 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.dir=D:\demo\cloud-demo

2023-03-16 16:49:41.542 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=localhost:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@1f193686

2023-03-16 16:49:41.559 INFO 17440 --- [ main] o.a.c.f.imps.CuratorFrameworkImpl : Default schema

2023-03-16 16:49:41.560 INFO 17440 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)

2023-03-16 16:49:41.561 INFO 17440 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Socket connection established to localhost/127.0.0.1:2181, initiating session

2023-03-16 16:49:41.569 INFO 17440 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x1001f8ca7cd0012, negotiated timeout = 40000

2023-03-16 16:49:41.575 INFO 17440 --- [ain-EventThread] o.a.c.f.state.ConnectionStateManager : State change: CONNECTED

2023-03-16 16:49:41.900 INFO 17440 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'

2023-03-16 16:49:42.276 INFO 17440 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8083 (http) with context path ''

2023-03-16 16:49:44.323 INFO 17440 --- [ main] o.a.c.f.imps.CuratorFrameworkImpl : Starting

2023-03-16 16:49:44.323 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=localhost:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@3d19d85

2023-03-16 16:49:44.325 INFO 17440 --- [ main] o.a.c.f.imps.CuratorFrameworkImpl : Default schema

2023-03-16 16:49:44.325 INFO 17440 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)

2023-03-16 16:49:44.326 INFO 17440 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Socket connection established to localhost/0:0:0:0:0:0:0:1:2181, initiating session

2023-03-16 16:49:44.330 INFO 17440 --- [localhost:2181)] org.apache.zookeeper.ClientCnxn : Session establishment complete on server localhost/0:0:0:0:0:0:0:1:2181, sessionid = 0x1001f8ca7cd0013, negotiated timeout = 40000

2023-03-16 16:49:44.330 INFO 17440 --- [ain-EventThread] o.a.c.f.state.ConnectionStateManager : State change: CONNECTED

2023-03-16 16:49:45.240 INFO 17440 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]

2023-03-16 16:49:45.256 INFO 17440 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2023-03-16 16:49:45.265 ERROR 17440 --- [ main] o.s.boot.SpringApplication : Application run failed

org.apache.dubbo.rpc.RpcException: Fail to start server(url: dubbo://2.0.0.1:20880/cn.suiwei.service.TimeService?anyhost=true&application=dubbo-provider&background=false&bind.ip=2.0.0.1&bind.port=20880&channel.readonly.sent=true&codec=dubbo&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&heartbeat=60000&interface=cn.suiwei.service.TimeService&methods=getTime&pid=17440&qos.enable=false&release=3.1.0&service-name-mapping=true&side=provider&timestamp=1678956582329) Failed to bind NettyServer on /2.0.0.1:20880, cause: Address already in use: bind

at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:378) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.openServer(DubboProtocol.java:343) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.export(DubboProtocol.java:325) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:66) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:74) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:61) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper.export(ProtocolSerializationWrapper.java:47) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.registry.integration.RegistryProtocol.lambda$doLocalExport$2(RegistryProtocol.java:295) ~[dubbo-3.1.0.jar:3.1.0]

at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[na:1.8.0_201]

at org.apache.dubbo.registry.integration.RegistryProtocol.doLocalExport(RegistryProtocol.java:293) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:240) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:64) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:74) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:58) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper.export(ProtocolSerializationWrapper.java:47) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.ServiceConfig.doExportUrl(ServiceConfig.java:647) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.ServiceConfig.exportRemote(ServiceConfig.java:625) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.ServiceConfig.exportUrl(ServiceConfig.java:584) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:416) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:400) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:362) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:234) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.deploy.DefaultModuleDeployer.exportServiceInternal(DefaultModuleDeployer.java:337) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.deploy.DefaultModuleDeployer.exportServices(DefaultModuleDeployer.java:309) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.deploy.DefaultModuleDeployer.start(DefaultModuleDeployer.java:145) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onContextRefreshedEvent(DubboDeployApplicationListener.java:111) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:100) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:45) ~[dubbo-3.1.0.jar:3.1.0]

at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:404) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:361) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:898) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]

at cn.suiwei.provider.DubboProviderApplication.main(DubboProviderApplication.java:12) [classes/:na]

Caused by: org.apache.dubbo.remoting.RemotingException: Failed to bind NettyServer on /2.0.0.1:20880, cause: Address already in use: bind

at org.apache.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:75) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.remoting.transport.netty4.NettyServer.<init>(NettyServer.java:86) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.remoting.transport.netty4.NettyTransporter.bind(NettyTransporter.java:35) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.remoting.Transporter$Adaptive.bind(Transporter$Adaptive.java) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.remoting.Transporters.bind(Transporters.java:55) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.remoting.exchange.support.header.HeaderExchanger.bind(HeaderExchanger.java:44) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.remoting.exchange.Exchangers.bind(Exchangers.java:69) ~[dubbo-3.1.0.jar:3.1.0]

at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:376) ~[dubbo-3.1.0.jar:3.1.0]

... 44 common frames omitted

Caused by: java.net.BindException: Address already in use: bind

at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_201]

at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_201]

at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_201]

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[na:1.8.0_201]

at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:550) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.59.Final.jar:4.1.59.Final]

at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_201]

2023-03-16 16:49:45.274 INFO 17440 --- [tor-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl : backgroundOperationsLoop exiting

2023-03-16 16:49:45.279 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Session: 0x1001f8ca7cd0013 closed

2023-03-16 16:49:45.279 INFO 17440 --- [ain-EventThread] org.apache.zookeeper.ClientCnxn : EventThread shut down for session: 0x1001f8ca7cd0013

2023-03-16 16:49:47.362 INFO 17440 --- [tor-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl : backgroundOperationsLoop exiting

2023-03-16 16:49:47.365 INFO 17440 --- [ main] org.apache.zookeeper.ZooKeeper : Session: 0x1001f8ca7cd0012 closed

2023-03-16 16:49:47.365 INFO 17440 --- [ain-EventThread] org.apache.zookeeper.ClientCnxn : EventThread shut down for session: 0x1001f8ca7cd0012

2023-03-16 16:49:47.370 INFO 17440 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'

Process finished with exit code 1

以上是 dubbo启动监控中心后,再启动服务提供者,为啥总报地址占用? 的全部内容, 来源链接: utcz.com/p/945041.html

回到顶部