Bitcoin Forum
May 08, 2024, 04:02:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BitCoin Server Trouble  (Read 1228 times)
jhfire (OP)
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
April 27, 2011, 03:17:52 AM
 #1

I want to connect to my BitCoin wallet and send commands from my website. I've checked out https://en.bitcoin.it/wiki/API_reference_(JSON-RPC) and it worked good on 127.0.0.1:8332. How do I get that onto my website?
1715140928
Hero Member
*
Offline Offline

Posts: 1715140928

View Profile Personal Message (Offline)

Ignore
1715140928
Reply with quote  #2

1715140928
Report to moderator
1715140928
Hero Member
*
Offline Offline

Posts: 1715140928

View Profile Personal Message (Offline)

Ignore
1715140928
Reply with quote  #2

1715140928
Report to moderator
1715140928
Hero Member
*
Offline Offline

Posts: 1715140928

View Profile Personal Message (Offline)

Ignore
1715140928
Reply with quote  #2

1715140928
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715140928
Hero Member
*
Offline Offline

Posts: 1715140928

View Profile Personal Message (Offline)

Ignore
1715140928
Reply with quote  #2

1715140928
Report to moderator
1715140928
Hero Member
*
Offline Offline

Posts: 1715140928

View Profile Personal Message (Offline)

Ignore
1715140928
Reply with quote  #2

1715140928
Report to moderator
1715140928
Hero Member
*
Offline Offline

Posts: 1715140928

View Profile Personal Message (Offline)

Ignore
1715140928
Reply with quote  #2

1715140928
Report to moderator
fpgaminer
Hero Member
*****
Offline Offline

Activity: 560
Merit: 517



View Profile WWW
April 27, 2011, 04:05:31 AM
 #2

Quote
Edit the bitcoin.conf file (in the bitcoin data directory), and add a line for each IP address allowed to connect:

Example:
Code:
rpcallowip=10.11.13.15
rpcallowip=10.11.13.16

bitcoin.conf is located at %AppData%\Bitcoin on Windows Vista/7.

You may also want to look at this for a more secure solution:
https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon

jhfire (OP)
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
April 27, 2011, 03:36:46 PM
 #3

Would I need to port forward?
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
April 27, 2011, 09:48:26 PM
 #4

Would I need to port forward?
You probably don't want anyone to be able to send your coins to themselves on your behalf, but if you want this to be insecure, forward port 8332.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
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!