Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: bigmacg4 on February 14, 2011, 02:40:34 PM



Title: Mac OS X -connect=IP Address
Post by: bigmacg4 on February 14, 2011, 02:40:34 PM
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


Title: Re: Mac OS X -connect=IP Address
Post by: Gavin Andresen on February 14, 2011, 04:14:14 PM
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.