Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit e004ec7

Browse files
authored
Update README to avoid error when localhost resolves to ::1 (ipv6 localhost) (#522)
1 parent 69f234a commit e004ec7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Notes](README-installation-notes.md) might be helpful.
7979
1. Set CLI config url to localhost cluster
8080

8181
```bash
82-
solana config set --url localhost
82+
solana config set --url http://127.0.0.1:8899
8383
```
8484

8585
2. Create CLI Keypair
@@ -142,7 +142,7 @@ Public key values will differ:
142142

143143
```bash
144144
Let's say hello to a Solana account...
145-
Connection to cluster established: http://localhost:8899 { 'feature-set': 2045430982, 'solana-core': '1.7.8' }
145+
Connection to cluster established: http://127.0.0.1:8899 { 'feature-set': 2045430982, 'solana-core': '1.7.8' }
146146
Using account AiT1QgeYaK86Lf9kudqKthQPCWwpG8vFA1bAAioBoF4X containing 0.00141872 SOL to pay for fees
147147
Using program Dro9uk45fxMcKWGb1eWALujbTssh6DW8mb4x8x3Eq5h6
148148
Creating account 8MBmHtJvxpKdYhdw6yPpedp6X6y2U9dCpdYaZJdmwV3A to say hello to
@@ -266,7 +266,7 @@ solana config set --url devnet
266266
267267
To point back to the local cluster:
268268
```bash
269-
solana config set --url localhost
269+
solana config set --url http://127.0.0.1:8899
270270
```
271271
272272
## Writing the client in Rust

0 commit comments

Comments
 (0)