Bitcoin Forum
May 11, 2024, 09:10:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Reach bitcoin server from outside  (Read 1249 times)
Shevek (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
June 16, 2011, 10: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.

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
1715418636
Hero Member
*
Offline Offline

Posts: 1715418636

View Profile Personal Message (Offline)

Ignore
1715418636
Reply with quote  #2

1715418636
Report to moderator
1715418636
Hero Member
*
Offline Offline

Posts: 1715418636

View Profile Personal Message (Offline)

Ignore
1715418636
Reply with quote  #2

1715418636
Report to moderator
1715418636
Hero Member
*
Offline Offline

Posts: 1715418636

View Profile Personal Message (Offline)

Ignore
1715418636
Reply with quote  #2

1715418636
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
xlcus
Legendary
*
Offline Offline

Activity: 966
Merit: 1009


View Profile
June 16, 2011, 10: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
Shevek (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
June 17, 2011, 06: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.

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
xlcus
Legendary
*
Offline Offline

Activity: 966
Merit: 1009


View Profile
June 18, 2011, 02:31:55 PM
 #4

Ah sorry, I thought you were wanting to connect in to a command prompt to control your client.
InstaGx
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
June 20, 2011, 02:07:51 PM
 #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

Buy High - Sell Low
Shevek (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
June 20, 2011, 03:00:51 PM
 #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!

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
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!