Author

Topic: Unable to use RPC with some coins (Read 152 times)

newbie
Activity: 2
Merit: 0
October 08, 2017, 08:43:01 AM
#1
I am trying to use RPC, but it works only with old coins like bitcoin, doge...
I have for instance DFSCoin DFSCoin (DFS),
Ethereum Dark Ethereum Dark (ETHD)

dfscoin.conf

server=1
daemon=1
listen=1
rpcuser=user
rpcpassword=pass
rpcport=9955
rpcallowip=192.168.0.0/16

ethereumdark.conf

server=1
daemon=1
listen=1
rpcuser=user
rpcpassword=pass
rpcport=9944
rpcallowip=192.168.0.0/16

The port is open after start the coin qt, I can see it with netstat. It is listening on 0.0.0.0:9955. But the following command does not work, after entering tha password I get nothing.
curl --user user --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getinfo","params":[]}' -H 'content-type:text/plain;' http://192.168.1.10:9955/

I am also not able to solomine. After connecting to that port it closes immediately. Is it some kind of a new RPC? Any ideas where to look for more information? The same technique works with bitcoin without any issue.
Jump to: