-
Notifications
You must be signed in to change notification settings - Fork 870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection refused error with solana-test-validator up and running in a separate pane #392
Comments
Try using node 16 instead of 17 if you're on 17 |
Ran into the same issue as what @1776M experienced. I was on node v17 and switching to node 16 works.
Switched to either node v16 or v14
|
Thanks for this. Ran into same issue as well. |
This solution worked for me. |
I am with Mac m1 and tried 17 and it failed. But nvm use 16 worked. |
Solution worked for me. Much appreciated! |
Can't seem to get it to work with any version sadly enough.... |
I am facing the same issue cant get it work with any version |
For me work this:
|
Hi, I am sure this must be a simple thing but it has happened on two different ubuntu instances where I tried to run the example-helloworld app. I am sure there is something I am doing wrong.
I am using Ubuntu to try and get the example-helloworld up and running.
I have followed the steps to build and deploy the app, which has all worked fine in a terminal pane. I have also started a "solana-test-validator" in a separate terminal pane, together with "solana logs" in a third pane.
I have also ensured I have solana's web3.js installed. When I run the command "npm start" in the first pane I get the following error show below. The solana-test-validator process seems to get killed when I run "npm start". Is there a obvious fix for this, to stop it getting killed?
FetchError: request to http://localhost:8899/ failed, reason: connect ECONNREFUSED 127.0.0.1:8899
at ClientRequest. (/root/example-helloworld/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (node:events:390:28)
at ClientRequest.emit (node:domain:475:12)
at Socket.socketErrorListener (node:_http_client:447:9)
at Socket.emit (node:events:390:28)
at Socket.emit (node:domain:475:12)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
type: 'system',
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED'
The text was updated successfully, but these errors were encountered: