java - Required ports 54321, 54322 are not available error on R in h2o -


i unable start h2o in mro3.3 h2o.init() gave following output

08-02 00:40:36.543 127.0.0.1:54321       19672  main      info: ----- h2o started  ----- 08-02 00:40:36.610 127.0.0.1:54321       19672  main      info: build git branch: rel-turan 08-02 00:40:36.610 127.0.0.1:54321       19672  main      info: build git hash: e2959c131831f8d5dad8c92eebdf0ad4a4e78d09 08-02 00:40:36.610 127.0.0.1:54321       19672  main      info: build git describe: jenkins-rel-turan-3 08-02 00:40:36.610 127.0.0.1:54321       19672  main      info: build project version: 3.8.1.3 08-02 00:40:36.610 127.0.0.1:54321       19672  main      info: built by: 'jenkins' 08-02 00:40:36.611 127.0.0.1:54321       19672  main      info: built on: '2016-03-06 14:54:19' 08-02 00:40:36.611 127.0.0.1:54321       19672  main      info: java availableprocessors: 4 08-02 00:40:36.611 127.0.0.1:54321       19672  main      info: java heap totalmemory: 150.0 mb 08-02 00:40:36.611 127.0.0.1:54321       19672  main      info: java heap maxmemory: 1.72 gb 08-02 00:40:36.611 127.0.0.1:54321       19672  main      info: java version: java 1.8.0_91 (from oracle corporation) 08-02 00:40:36.611 127.0.0.1:54321       19672  main      info: jvm launch parameters: [-ea] 08-02 00:40:36.611 127.0.0.1:54321       19672  main      info: os version: linux 4.4.0-31-generic (amd64) 08-02 00:40:36.611 127.0.0.1:54321       19672  main      info: machine physical memory: 7.73 gb 08-02 00:40:36.612 127.0.0.1:54321       19672  main      info: x-h2o-cluster-id: 1470078635582 08-02 00:40:36.612 127.0.0.1:54321       19672  main      info: user name: 'chaithanya' 08-02 00:40:36.612 127.0.0.1:54321       19672  main      info: opted out of sending usage metrics. 08-02 00:40:36.612 127.0.0.1:54321       19672  main      info: possible ip address: wlo1 (wlo1), fe80:0:0:0:d5a6:487d:f375:a2e%wlo1 08-02 00:40:36.612 127.0.0.1:54321       19672  main      info: possible ip address: wlo1 (wlo1), 10.42.0.1 08-02 00:40:36.612 127.0.0.1:54321       19672  main      info: possible ip address: enp8s0 (enp8s0), fe80:0:0:0:1c9a:f547:b84:a5da%enp8s0 08-02 00:40:36.612 127.0.0.1:54321       19672  main      info: possible ip address: enp8s0 (enp8s0), 10.105.34.74 08-02 00:40:36.612 127.0.0.1:54321       19672  main      info: possible ip address: lo (lo), 0:0:0:0:0:0:0:1%lo 08-02 00:40:36.613 127.0.0.1:54321       19672  main      info: possible ip address: lo (lo), 127.0.0.1 08-02 00:40:36.613 127.0.0.1:54321       19672  main      fatal: on /127.0.0.1 of required ports 54321, 54322 not available, change -port port , try again. 

output :

exception in thread "main" java.lang.assertionerror         @ water.autobuffer.<init>(autobuffer.java:165)         @ water.udprebooted$t.send(udprebooted.java:25)         @ water.h2o.shutdown(h2o.java:519)         @ water.h2o.die(h2o.java:1770)         @ water.init.networkinit.initializenetworksockets(networkinit.java:410)         @ water.h2o.startlocalnode(h2o.java:1294)         @ water.h2o.main(h2o.java:1705)         @ water.h2ostarter.start(h2ostarter.java:21)         @ water.h2ostarter.start(h2ostarter.java:36)         @ water.h2oapp.main(h2oapp.java:5) 

i can't access h2o if changed port tried reinstalling java , h2o no luck far

the last line of log explains issue:

08-02 00:40:36.613 127.0.0.1:54321       19672  main      fatal: on /127.0.0.1 of required ports 54321, 54322 not available, change -port port , try again. 

it says, "some of required ports 54321, 54322 not available". make sure ports available, or if can't made available, start h2o on different port using port argument in h2o.init().


Comments