Mainnet Node - Query Tip Issue

What am I doing wrong here?

I exported the node socket path:

export CARDANO_NODE_SOCKET_PATH=“home/thedeen/mainnet/node.socket”

Then used:

cardano-cli query tip --mainnet

And I receive this

cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (No such file or directory)

You’re missing a / in front of home/thedeen. Without it, you’d only be able to run cardano-cli from the root directory (/)… everywhere else, that path generally wouldn’t exist.

Wow such a simple fix! Haha it worked though. Thanks so much!

1 Like