-
Notifications
You must be signed in to change notification settings - Fork 85
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 on all RPC API thetacli key CMD #75
Comments
Is your RPC port 16889 or 16888? Also did you enable RPC in config.yaml? |
RPC ports are the default ports and not set in the config.yaml Calls to theta API with port 16888 are working if I do a netstat port, 16889 is not listening |
yeah if you didn't specify 16889 as the RPC port in config.yaml, by default the node will use 16888 as the RPC port |
There are 2 ports needed. 1 for Theta API (node) and 1 for Theta cli API (wallet). The node calls are working but you can call the wallet calls on the same port as the node port. Maybe the documentation is out dates. |
I see, did you run the thetacli deamon? Need the deamon process in the background to enable the API on port 16889 thetacli daemon start --port=16889 |
Thanks @jieyilong it is working. |
For example List Keys cmd
Gives an error.
This was working a year ago.
Maybe it is refused because of security reasons?
Thanks
The text was updated successfully, but these errors were encountered: