Bitcoin Forum

Bitcoin => Electrum => Topic started by: Minoc on February 05, 2017, 10:50:28 AM



Title: JSONRPC not working
Post by: Minoc on February 05, 2017, 10:50:28 AM
Hello,
I tried to connect install JSONRPC with following command:
Code:
electrum setconfig rpcport 7777
But when I am trying to connect I have got this error:
Code:
Unable to connect to http://127.0.0.1:7777/ Error: Failed to connect to 127.0.0.1 port 7777: Connection refused
How to fix this problem?
I have got XAMPP and Windows 7 installed.
Thanks in advance!


Title: Re: JSONRPC not working
Post by: kolloh on February 06, 2017, 02:59:01 PM
Hello,
I tried to connect install JSONRPC with following command:
Code:
electrum setconfig rpcport 7777
But when I am trying to connect I have got this error:
Code:
Unable to connect to http://127.0.0.1:7777/ Error: Failed to connect to 127.0.0.1 port 7777: Connection refused
How to fix this problem?
I have got XAMPP and Windows 7 installed.
Thanks in advance!

You are attempting to connect from the same PC that is running Electrum, right? It is currently listening on localhost so you would need to connect from the same PC.

Also ensure that Electrum is currently running when you attempt to do the connection otherwise you won't be able to connect.