Bitcoin Forum
May 12, 2024, 01:00:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Open Port 8333 Necessary to Broadcast Transactions?  (Read 156 times)
McMurdo (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
November 28, 2019, 07:26:31 PM
Merited by hugeblack (1)
 #1

My btc core node (pruned) can receive transactions, but not send them. I've tried to send around a 1000 sats with over 3,000 sats in fees, to the testnet faucet address

n2eMqTT929pb1RDNuqEnxdaLau1rxy3efi
 
and when I type

$ bitcoin-cli listtransactions

I can see the transaction, but it has had zero confirmations for hours, and I when I enter the txid in a testnet block explorer, there are no results.

Do I need to open port 8333 on my router (i.e., have inbound connections) to be able to broadcast transactions?

Thank you.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715518803
Hero Member
*
Offline Offline

Posts: 1715518803

View Profile Personal Message (Offline)

Ignore
1715518803
Reply with quote  #2

1715518803
Report to moderator
1715518803
Hero Member
*
Offline Offline

Posts: 1715518803

View Profile Personal Message (Offline)

Ignore
1715518803
Reply with quote  #2

1715518803
Report to moderator
1715518803
Hero Member
*
Offline Offline

Posts: 1715518803

View Profile Personal Message (Offline)

Ignore
1715518803
Reply with quote  #2

1715518803
Report to moderator
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7494


Crypto Swap Exchange


View Profile
November 28, 2019, 07:49:10 PM
Merited by hugeblack (1)
 #2

Open Port 8333 is only necessary if you plan to contribute to Bitcoin Network or actually running a full node.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
khaled0111
Legendary
*
Offline Offline

Activity: 2520
Merit: 2871


Top Crypto Casino


View Profile WWW
November 28, 2019, 10:42:15 PM
Merited by hugeblack (1)
 #3

Open Port 8333 is only necessary if you plan to contribute to Bitcoin Network or actually running a full node.
Besides, to accept incoming connections on testnet you have to open the default port 18333 not 8333.
@OP, You don't have to enable incoming connections to be able to broadcast a transaction.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2971


Block halving is coming.


View Profile WWW
November 28, 2019, 10:47:36 PM
 #4

Did you run the bitcoin core to testnet? the sat you are sending is mainet BTC to testnet BTC?

try to check this video on how he set up and run the testnet bitcoin core without any issue. https://www.youtube.com/watch?v=MX_DHGJxoOc

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
McMurdo (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
November 29, 2019, 12:01:15 AM
 #5

Open Port 8333 is only necessary if you plan to contribute to Bitcoin Network or actually running a full node.
Besides, to accept incoming connections on testnet you have to open the default port 18333 not 8333.
@OP, You don't have to enable incoming connections to be able to broadcast a transaction.

Ok, that's good to know. Any idea what would cause my node to be able to receive tesnet transactions but not be able to propagate its own?

BitMaxz: I have core configuring to run in Testnet and it shows this when I run $ bitcoin-cli printtoconsole. These are indeed tesnet coins I'm trying to send to a testnet address.
ranochigo
Legendary
*
Offline Offline

Activity: 2968
Merit: 4184



View Profile
November 29, 2019, 03:27:28 AM
Merited by hugeblack (1), nc50lc (1)
 #6

Ok, that's good to know. Any idea what would cause my node to be able to receive tesnet transactions but not be able to propagate its own?
The problem most likely lies with your transaction than with your client. For some reason, your transaction might be non standard and thus it doesn't propagate well within the network. If you want to eliminate this possibility, use an online transaction broadcaster with your raw transaction for testnet and try if it works.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
McMurdo (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
November 29, 2019, 02:33:33 PM
 #7

Ranochigo:

Just used an online testnet transaction broadcaster with the raw data, and it has propagated successfully. Any other ideas why my node couldn't do it on it's own?

Here's another symptom: when I tried to send to testnet bech32 addresses (staring in "tb") core tells me "error code -5, invalid address." even though  I created the address with testnet mycelium on my phone and am 100% certain I entered the address correctly into core.
 
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2971


Block halving is coming.


View Profile WWW
November 29, 2019, 03:41:00 PM
 #8

BitMaxz: I have core configuring to run in Testnet and it shows this when I run $ bitcoin-cli printtoconsole. These are indeed tesnet coins I'm trying to send to a testnet address.

Where did you get the testnet address that you trying to send from your testnet wallet to that testnet address?
Did you just generate a new testnet address on the same wallet?


Ranochigo:

Just used an online testnet transaction broadcaster with the raw data, and it has propagated successfully. Any other ideas why my node couldn't do it on it's own?
 

It seems that your core is not connected to online testnet that is why you need to broadcast the raw transaction.

Take a look at this sample bitcoin.conf setup below.

Code:
testnet=1
regtest=0
dnsseed=0
upnp=0
setgenerate=1
blocksonly=1

server=1

addnode=104.237.131.138
addnode=151.80.205.132
addnode=192.155.82.123
addnode=74.220.255.190
addnode=80.100.203.151

maxconnections=15
minrelaytxfee=0.0001
maxmempool=200
maxreceiverbuffer=2500
maxsendbuffer=500
dbcache=16000

rpcallowip=0.0.0.0/0
rpcuser=someuser
rpcpassword=somepass

You might need to add some online node just like the setup above.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
McMurdo (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
November 30, 2019, 06:16:33 PM
 #9

Bitmax:
1. The testnet address I've been trying to get tBTC core to send to is my tBTC mycelium app. However, I've now found that both Wasabi Wallet, and an online testnet faucet also reject the bech32 testnet address created by my phone's mycelium tBTC app. (So that's on you, Mycelium).

2. I determined that my tBTC core fails to propagate if I use
$ sendtoaddress [address] [amout of tBTC]
but, if I use:
$ sendrawtransaction [raw_transaction]
then that propagates right away.
Interestingly, the same failure to propagate occurs if I use bitcoin-qt -testnet.

Any chance this is due to my Linux firewall settings?

My bitcoin.config has already been nearly identical to what you've recommended:

testnet=1

listen=1
server=1
proxy=127.0.0.1:9050

[test]
prune = 5000
regtest=0
dnsseed=0
upnp=0
setgenerate=1
blocksonly=1

addnode=104.237.131.138
addnode=151.80.205.132
addnode=192.155.82.123
addnode=74.220.255.190
addnode=80.100.203.151

maxconnections=15
minrelaytxfee=0.0001
McMurdo (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
December 03, 2019, 02:18:44 AM
 #10

ETFbitcoin:

I am able to propagate transactions when using sendrawtransaction, it's just the command sendtoaddress and bitcoin-qt never propagate. Disabled my firewall, same result.

At least I have a work around.
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!