Bitcoin Forum
November 14, 2024, 09:41:26 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mac OS X -connect=IP Address  (Read 2043 times)
bigmacg4 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 14, 2011, 02:40:34 PM
 #1

I have bitcoin running on ubuntu, and I have port 8333 forwarded to that computer's NAT'd IP address.  I understand it would be best for me to instruct my Mac OS X machine to connect through the ubuntu machine using "bitcoin -connect=IP ADDRESS" - how exactly do you do that on a Mac, since those instructions appear to be a windows command line switch.

Can I just point to /Applications/Bitcoin.app/Contents/MacOS/bitcoin -connect?  I tried that and it never got a connection.


Thanks
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652
Merit: 2301


Chief Scientist


View Profile WWW
February 14, 2011, 04:14:14 PM
 #2

Easiest way would be to put it in the bitcoin.conf file.

Create $HOME/Library/Application Support/Bitcoin/bitcoin.conf  and put:

connect=IP ADDRESS

... in it.  Any of the command-line options (except -datadir and -conf) can be put in the bitcoin.conf file.


How often do you get the chance to work on a potentially world-changing project?
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!