Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: mizerydearia on August 16, 2010, 10:35:10 AM



Title: Random or user-specified ports
Post by: mizerydearia on August 16, 2010, 10:35:10 AM
PLEASE implement variable ports instead of using 8332 and 8333!!!
\
I only have one system and cannot afford another, yet I would like to run an instance of the old client with data from old block chain (with generating disabled) to analyze the data in comparison with the data in the new block chain.  This is not possible, however, as I have only one computer, and my attempts to compile from source and modify the ports has failed as I do not know how to do this.  It would be VERY much appreciated if I weren't to have to go through this trouble and could simply specify to the client to use a different port and then I could provide the information to myself and others for analyzation.   But, alas I cannot.  Boooooo!!! =/


Title: Re: Random or user-specified ports
Post by: Insti on August 16, 2010, 11:13:26 AM
Isn't the external port just for receiving inbound connections?
You should still be able to use outbound connections.
Or does it complain about not being able to bind to the port when you start?


Title: Re: Random or user-specified ports
Post by: mizerydearia on August 16, 2010, 11:33:33 AM
Unable to bind to port 8333 on this computer.  Bitcoin is probably already running.


Title: Re: Random or user-specified ports
Post by: lachesis on August 16, 2010, 07:45:01 PM
Use Gavin's -port and -rpcport patch.
http://bitcointalk.org/index.php?topic=589.0

It works great.


Title: Re: Random or user-specified ports
Post by: mizerydearia on August 16, 2010, 10:21:12 PM
Use Gavin's -port and -rpcport patch.
http://bitcointalk.org/index.php?topic=589.0

It works great.

I still have difficulties compiling from source.  I look forward to that being intregrated into the binary client soon.  Thanks.


Title: Re: Random or user-specified ports
Post by: lachesis on August 17, 2010, 05:54:45 AM
Use Gavin's -port and -rpcport patch.
http://bitcointalk.org/index.php?topic=589.0

It works great.

I still have difficulties compiling from source.  I look forward to that being intregrated into the binary client soon.  Thanks.
What platform are you on? I have builds for Linux on my site (out of date atm, but I can get a new release up soon).

If you're on Windows, then I guess you're out of luck with me.


Title: Re: Random or user-specified ports
Post by: mizerydearia on August 17, 2010, 10:14:43 PM
64-bit gentoo linux