Author

Topic: I can't start bitcoin deamon (Read 1010 times)

newbie
Activity: 5
Merit: 0
January 07, 2015, 01:54:44 PM
#6
yes thats it! Thank you so much for your help
legendary
Activity: 4228
Merit: 1313
January 07, 2015, 10:58:03 AM
#5
Hi,
It sounds like you are on the right track.  curl should do it.

A link to check out is:
https://en.bitcoin.it/wiki/Running_Bitcoin


In the Windows section, of note is:
Quote
Batch automation
To work with batch, you have to start the daemon (bitcoind.exe). The bitcoin.exe run with option "-server" will respond with GUI-messages you are not able to process its answers.

I believe they are using "batch" to indicate the RPC server interface.

So it appears you'd want to run something like this which is similar to Linux:
bitcoind.exe -server

My guess is that you did something like
bitcoin.exe
or just started it from the desktop which I don't believe starts the RPC interface.

Alternatively you could use the server=1 in the bitcoin.conf file  - the appropriate location is detailed on the link below.  I don't run it on Windows, but in the bitcoin.conf file you'd want to add a server=1 option see the link above if you don't use the command line option.

You will also need to set your rpcuser and rpcpassword in the bitcoin.conf file (or the command line perhaps, but I think the .conf file is preferred).

Hopefully that will help a little....let us know!  ;-)
newbie
Activity: 5
Merit: 0
January 07, 2015, 10:20:07 AM
#4
Thank you for your reply, I am newbie with it and seems really need help with installing this service
What are you attempting to accomplish? RPC?
Yes, I am.
Are you sure Bitcoin is not running? Why do you say you can't start it?
because I can't connect to the service.
How are you trying to connect via http?
there is library, it does that, ex.  $curl    = curl_init("{$this->proto}://{$this->username}:{$this->password}@{$this->host}:{$this->port}/{$this->url}");

Do you have server=1 set? And/or how are you starting it? Did you set up a conf file?
Can you please explain where to set server =1? As I wrote I installed bitcoin to windows machine and just starting bitcoin-qt.exe. I didn't set up config but it didn't ask me for config


legendary
Activity: 4228
Merit: 1313
January 07, 2015, 07:44:30 AM
#3
What are you attempting to accomplish? RPC?

Are you sure Bitcoin is not running? Why do you say you can't start it?

How are you trying to connect via http?

Do you have server=1 set? And/or how are you starting it? Did you set up a conf file?
newbie
Activity: 5
Merit: 0
January 07, 2015, 07:40:32 AM
#2
can anybody help me?
newbie
Activity: 5
Merit: 0
January 06, 2015, 10:32:48 AM
#1
Hi all,
I try to integrate bitcoin into my website. I am testing on windows machine. So I have downloaded bitcoin from https://bitcoin.org/en/download and started it. But when I try to connect http://myuser:[email protected]:8332, I get couldn't connect to host. What do I do wrong?
Jump to: