Author

Topic: Bitcoin-Qt How to run as a server? (Read 843 times)

newbie
Activity: 12
Merit: 0
December 30, 2014, 12:18:17 PM
#3
You'll need to do two things, firstly you need to port forward if you have a router, there's plenty of guides on the internet for that, just google "port forwarding for *INSERT YOUR ROUTER BRAND AND MODEL HERE*", the port would be 8333 and 8332 TCP.

Secondly, you may need to add to your bitcoin.conf:

Code:
rpcallowip=*
This will make sure that any IP can connect, not just ones on your LAN, or localhost.

WARNING: You might want to configure it to the exact IPs, or an IP range of where you'll normally connect from, this will protect you from hackers brute forcing your server

thank you.
Ports were opened, and I added this line  rpcallowip=* in bitcoin.conf , but script can't connect to wallet Cry
sr. member
Activity: 336
Merit: 254
CEO of Privex Inc. (www.privex.io)
December 30, 2014, 11:52:12 AM
#2
You'll need to do two things, firstly you need to port forward if you have a router, there's plenty of guides on the internet for that, just google "port forwarding for *INSERT YOUR ROUTER BRAND AND MODEL HERE*", the port would be 8333 and 8332 TCP.

Secondly, you may need to add to your bitcoin.conf:

Code:
rpcallowip=*
This will make sure that any IP can connect, not just ones on your LAN, or localhost.

WARNING: You might want to configure it to the exact IPs, or an IP range of where you'll normally connect from, this will protect you from hackers brute forcing your server
newbie
Activity: 12
Merit: 0
December 30, 2014, 11:47:56 AM
#1
Script from my site must access to the wallet and give commands to create addresses, and more.
My bitcoin.conf
server=1
rpcuser=bitcoinrpc
rpcpassword=password
rpcport=8332

Bitcoin-Qt label run with parameters -server, and -daemon, all run on the PC and working properly.
In a script to connect write host, password, login, and port.  As pointed host my ip do not connect, and my host name is found on the site http://www.displaymyhostname.com - not connected.   
I would be very grateful for the help)
Jump to: