Using a DigitalOcean Ubuntu droplet, I have:
successfully installed cardano-node according to: https://developers.cardano.org/docs/get-started/installing-cardano-node/
cardano-cli 1.32.1 - linux-x86_64 - ghc-8.10 git rev 4f65fb9a27aa7e3a1873ab4211e412af780a3648
successful installed cardano-wallet according to: https://developers.cardano.org/docs/get-started/installing-cardano-wallet
v2021-12-15 (git revision: 760140e238a5fbca61d1b286d7a80ece058dc729)
(in order to download/calculate the latest hashes) run
nohup cardano-node run
--topology ~/cardano/mainnet/mainnet-topology.json
--database-path ~/cardano/db
--socket-path ~/cardano/db/node.socket
--host-addr <my_ip>
--port <port-number>
--config ~/cardano/mainnet/mainnet-config.json & exit
- And then asked the wallet to serve the http interface:
cardano-wallet serve \
--mainnet \
--node-socket ~/cardano/db/node.socket \
--database ~/cardano/db
--port 8090
However, when using Chrome to go to http://<my_ip>:8090/v2/network/information
or http://<my_ip>:8090/v2
, I only get:
This site can’t be reached
<my_ip> refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Now, when I run cardano-cli query tip --mainnet
I am only at epoch 293 (and as time of this question we are at 310.
Do I need to wait till I get to 310 for the http api to work? Is there anything else that is needed to get this connected?