org.elasticsearch.transport.BindTransportException: Failed to bind to [9300-9400] at org.elasticsearch.transport.netty.NettyTransport.bindServerBootstrap(NettyTransport.java:405) at org.elasticsearch.transport.netty.NettyTransport.doStart(NettyTransport.java:269) at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:85) at org.elasticsearch.transport.TransportService.doStart(TransportService.java:153) at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:85) at org.elasticsearch.node.internal.InternalNode.start(InternalNode.java:248) at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:128) at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:216) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) Caused by: org.elasticsearch.common.netty.channel.ChannelException: Failed to bind to: /192.168.1.241:9400 at org.elasticsearch.common.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272) at org.elasticsearch.transport.netty.NettyTransport$1.onPortNumber(NettyTransport.java:396) at org.elasticsearch.common.transport.PortsRange.iterate(PortsRange.java:69) at org.elasticsearch.transport.netty.NettyTransport.bindServerBootstrap(NettyTransport.java:392) ... 8 more Caused by: java.net.BindException: Cannot assign requested address at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:444) at sun.nio.ch.Net.bind(Net.java:436) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.elasticsearch.common.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315) at org.elasticsearch.common.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42) at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) [2015-08-11 16:35:54,598][INFO ][node ] [node2] stopping ... [2015-08-11 16:35:54,600][INFO ][node ] [node2] stopped [2015-08-11 16:35:54,600][INFO ][node ] [node2] closing ...
绑定端口失败,可能是: 1、旧的节点进程没有停止,端口并未释放 2、其他进程占用了该端口,端口使用冲突
建议netstat看下9300 9400端口目前是被哪个进程使用的,确认好了再启动。
有些老数据问题,直接删除旧节点数据,复制目录不当,复制之前没有清理data
检查你的ip地址和端口是否填写正确,且没有人占用版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。