Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: KvThweatt on March 11, 2022, 12:56:58 AM



Title: Peer keeps binding to random port
Post by: KvThweatt on March 11, 2022, 12:56:58 AM
So I can see the peer in my peerlist, but every time we get him to connect it binds to a new port, even tho it should be hardcoded and automatic?

Coin in question is Under The Table Coin, a Monero fork.

Even when using --add-peer <ip:port> or --add-exclusive-node it still chooses a random port, even if the port is specified.

Anyone know why this behavior is happening on a device outside my network, but my other laptop connects just fine within the network?


Title: Re: Peer keeps binding to random port
Post by: vv181 on March 11, 2022, 03:48:42 AM
I hard to tell if you didn't specify your network configuration and/or give examples of the port your node bind to.

If you run the node over Tor, a node binding to some port on your local addresses is expected, and thus if you are connecting within the same local network, it may addressed to the correct specified port.


Title: Re: Peer keeps binding to random port
Post by: KvThweatt on March 11, 2022, 04:05:10 AM
The other issue I'm having is, about a month ago, one of my builds before I could get any peers to connect would let me send coins to addresses.

Now the wallet keeps responding with "No outputs found or daemon is not ready"

Any help?

We have miners on the network but it wont create any new transactions.


Title: Re: Peer keeps binding to random port
Post by: vv181 on March 11, 2022, 04:37:07 AM
I don't have much experience regarding running monero-based/fork nodes, but I suspect the daemon is not ready may indicate your node isn't running successfully, either the daemon itself or maybe the RPC daemon. Again it's better if you also show some debug.log of your node, it should give better clarity about what is happening.


Title: Re: Peer keeps binding to random port
Post by: KvThweatt on March 11, 2022, 05:05:59 PM
2022-03-11 17:04:26.058 W Failed to connect to any of seed peers, continuing without seeds
2022-03-11 17:04:26.763 I HTTP [76.245.194.107] POST /json_rpc
2022-03-11 17:04:26.764 I [76.245.194.107:57917 INC] Calling RPC method get_txpool_backlog
2022-03-11 17:04:26.766 I HTTP [76.245.194.107] POST /json_rpc
2022-03-11 17:04:26.767 I [76.245.194.107:57917 INC] Calling RPC method getblockheadersrange

That's all my logs will show.


Title: Re: Peer keeps binding to random port
Post by: vv181 on March 11, 2022, 05:16:22 PM
Can't help much about that. I think you should seek help from their community Discord server.

    Discord: https://discord.gg/HNfyxvRS3f


Title: Re: Peer keeps binding to random port
Post by: KvThweatt on March 11, 2022, 05:17:27 PM
That's my server lol. I'm the owner creator* of the coin.

Before I could get any nodes to sync, back when I was still trying to get the coin working I could send no problem.
Sometimes there wouldn't be enough outputs for ring size x but I never got the daemon not ready or no output errors.


Title: Re: Peer keeps binding to random port
Post by: vv181 on March 12, 2022, 07:06:33 AM
That's my server lol. I'm the owner creator* of the coin.

Before I could get any nodes to sync, back when I was still trying to get the coin working I could send no problem.
Sometimes there wouldn't be enough outputs for ring size x but I never got the daemon not ready or no output errors.
XD ;D You should've known better then.

Actually, I doubt that is the only log that shows unless you configure something about the logging code processes. I believe in setting some further configuration on the node/daemon config should make the log more informative, that way you should have more clarity about where was it wrong.

Refer to Monero Configuration File (https://monerodocs.org/interacting/monero-config-file/#monero-configuration-file) and Logging (https://monerodocs.org/interacting/monerod-reference/#logging). Using a higher log level and then restarting the node should give you more info about the log.