solana

`solana airdrop 10 <pub-key>` Error: connection timed out


I am running:

solana airdrop 10 7Fbdg5vecamm8MLxDw7bPN2xENaBE7fP65tKW935BEhq

Where 7Fbdg5vecamm8MLxDw7bPN2xENaBE7fP65tKW935BEhq is my public key.

However, I'm getting the following output:

Requesting airdrop of 10 SOL from 109.230.214.107:9900
Error: connection timed out

My config is:

$ solana config get
Config File: /Users/patrick/.config/solana/cli/config.yml
RPC URL: https://api.devnet.solana.com 
WebSocket URL: wss://api.devnet.solana.com/ (computed)
Keypair Path: /Users/patrick/.config/solana/id.json 

Solution

  • It looks like you did everything right, so it could be a few things:

    One of those should do the trick!