AntelopeIO / DUNES

Docker Utilities for Node Execution
Other
26 stars 17 forks source link

cleos cannot reach dune on 127.0.0.1:8888 #28

Closed AusPrinzip closed 2 years ago

AusPrinzip commented 2 years ago

I am running a local development environment with dune, my test node list is the following (dune --list):

Node Name        | Active? | Running? | HTTP           | P2P          | SHiP
--------------------------------------------------------------------------------------
test1     |    N     |    N     | 127.0.0.1:8888 | 0.0.0.0:9876 | 127.0.0.1:8080
test_node     |    Y     |    Y     | 127.0.0.1:8888 | 0.0.0.0:9876 | 127.0.0.1:8080

However when I try to interact with Dune through cleos I get the following error:

cleos push action $ACTION configure  "$(cat configure.json)" -p $PERMISSION

Failed to connect to nodeos at http://127.0.0.1:8888/; is nodeos running?

Additional notes: Running DUNE v1.0.0 on macbook air with M1 chip

Looks like docker is not forwarding the ports correctly. Any ideas?

AusPrinzip commented 2 years ago

Resolved using -- cleos flag