Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: jgauthier on April 10, 2014, 05:18:59 PM



Title: Empty reply from server?
Post by: jgauthier on April 10, 2014, 05:18:59 PM
Hey all,

 I've been using the litecoin-qt client for awhile, and accessing it with curl like so:

curl --user me:pass --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://IP:port/

I recently installed bitcoin core, and tried to do the same thing, but curl reports:

curl: (52) Empty reply from server

Any idea what could be the cause?


Title: Re: Empty reply from server?
Post by: jgauthier on April 10, 2014, 05:49:35 PM
Well, I solved this.  I was using port 9332 for litecoin, and 9333 for bitcoin.  However, the litecoin client decided to listen to 9332 and 9333.  Whatever.  I changed it to something else.