【发布时间】:2016-08-15 20:20:56
【问题描述】:
我正在尝试启动我的 elasticsearch 节点,但出现以下错误
Exception in thread "main" BindTransportException[Failed to bind to [9300-9400]]; nested: ChannelException[Failed to bind to: /192.168.0.1:9400]; nested: BindException[Cannot assign requested address];
Likely root cause: java.net.BindException: Cannot assign requested address
我不是非常精通 linux,但我用谷歌搜索了如何检查进程是否正在使用某个端口并发现以下内容
lsof -n -iTCP:9400
什么都不返回。我也试过了
netstat -tulpn | grep 9400
也没有返回任何内容
【问题讨论】:
-
你能解决这个问题吗?
-
不,我不是。当时我是一名实习生,我的实习结束了。
-
我能够修复它。我在配置中使用的绑定 IP 地址是错误的。修复它并解决此问题。
标签: elasticsearch