Author

Topic: Reach bitcoin server from outside (Read 1281 times)

sr. member
Activity: 252
Merit: 250
June 20, 2011, 10:00:51 AM
#6
Thanks a lot for your feedback!

I want to know, how to configure my host computer (Debian) in which I run bitcoin, to be reached externally.


As you didn't provide much information I'll just list all the possible errors in your method.

  • Bitcoin isn't running as a server/daemon
  • You're using the wrong port when trying to connect (maybe try default port 8333?)

No. It's ok. Locally, I can "telnet" and "http" to localhost:8332 (with nonsense result, but it proves the daemon is listening).

  • You're trying to reach the server from outside the local network and haven't configured NAT and/or firewall exceptions in the router

The server has public address, with no NAT device. Perhaps I should take a peek to "iptables", but I think ports over 1024 are visible by default...

  • bitcoin.conf file uses whitelisting of IPs or is forbidding remote access

Only rcpuser and rcppassword are on bitcoin.conf.

But this is worth to investigate: the options in bitcoin.conf I'll quickly go to the wiki to dig out the matter.

Thanks again!
member
Activity: 70
Merit: 10
June 20, 2011, 09:07:51 AM
#5
I want to know, how to configure my host computer (Debian) in which I run bitcoin, to be reached externally.

Actually,

Code:
$ telnet my.host.address 8332

is useless.

As you didn't provide much information I'll just list all the possible errors in your method.

  • Bitcoin isn't running as a server/daemon
  • bitcoin.conf file uses whitelisting of IPs or is forbidding remote access
  • You're using the wrong port when trying to connect (maybe try default port 8333?)
  • You're trying to reach the server from outside the local network and haven't configured NAT and/or firewall exceptions in the router
legendary
Activity: 966
Merit: 1009
June 18, 2011, 09:31:55 AM
#4
Ah sorry, I thought you were wanting to connect in to a command prompt to control your client.
sr. member
Activity: 252
Merit: 250
June 17, 2011, 01:00:54 AM
#3
Don't use telnet. It's unencrypted and your password is sent in plain text.  User SSH instead.  Open port 22 on your router/firewall and redirect it to your Debian box.  Then connect in using either SSH from a Unix box, or PuTTY from a Windows box

I use "telnet" as a simple way to test if bitcoin is alive from outside. I don't really want to manage bitcoin with "telnet". The goal is to use a real bitcoin client in the future.
legendary
Activity: 966
Merit: 1009
June 16, 2011, 05:36:20 PM
#2
Don't use telnet. It's unencrypted and your password is sent in plain text.  User SSH instead.  Open port 22 on your router/firewall and redirect it to your Debian box.  Then connect in using either SSH from a Unix box, or PuTTY from a Windows box
sr. member
Activity: 252
Merit: 250
June 16, 2011, 05:00:56 PM
#1
I want to know, how to configure my host computer (Debian) in which I run bitcoin, to be reached externally.

Actually,

Code:
$ telnet my.host.address 8332

is useless.
Jump to: