Bitcoin Forum
June 26, 2024, 05:46:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Unable to use RPC with some coins  (Read 137 times)
xmms (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 08, 2017, 01:43:01 PM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!