Bitcoin Node default port

I just installed Umbrel and did all the bitcoin node sync. Then I installed from the app store, Public Pool . It came up and the default port it is using is 2018. How and where do I change this to 3333

Also, I noticed that my miner difficulty is set to 1000 but in the pool, it says 4096. How did that happen and can that be changed? Thanks

What Public Pool did you install? The one in the Umbrel App Store?

This one installs the UI be default o Port 2019 and the Miners point to 2018:

The UI Port is configured for Umbrel’s UI to forward to the app’s port (2018) and this is done from within the docker-composer.yml file and the Miner’s Port is configured in the nginx.conf file:

umbrel@umbrel PROD:~/umbrel/app-data/public-pool/data/proxy$ cat nginx.conf
server {
listen 80;

location / {
    proxy_pass http://public-pool_web_1:80;
}

location ~* ^/api/ {
    proxy_pass http://public-pool_server_1:2019;
}

}

1 Like

Yes, the one built in to the Umbrel

Ok … so, did the info I posted above help you? It is not clear to me which port you want to change to 3333.

Oh, it’s the port for public pool I installed from the App Store of umbrel. After installation, public pool came up with port 2018. I want to change it to 3333 but I don’t know where and how to do it. Thanks

You will have to be comfortable with accessing the Unix CLI of UmbrelOS to edit a file. Do you already have knowledge on how to edit a unix file from a command prompt?

You would just need to edit the docker-compose.yml file for public-pool under the server section:

This is the file you need to edit: ~/umbrel/app-data/public-pool/docker-compose.yml

Your other option would be to install Bassin from the App Store. It uses Port 3333 as the miner port OOB. :wink:

Let me try that since I want to use port 3333. Standby

I am a bit comfortable executing Linux commands. So I went to that file and opened it and I didn’t see any of what you mentioned. I don’t even see the default port of 2018z. Here is a screenshot. I was trying to download Termix from the App Store but it keeps on failing and not installing so I have to connect my monitor and keyboard directly to the umbrel box

It looks like you went to the bitcoin node directory and not the public-pool directory.

When you log-in …

cd ~/umbrel/app-data/public-pool
(What editor do you use … nano or vi? Does not matter but the commands are different … I’ll say nano for now)

nano docker-container.yml

  • My line 23 is the first line to change the port
    from 2018:2018/tcp to 3333:3333/tcp

  • Next line to change on mine is line 34
    STRATUM_PORT=2018 to STRATUM_PORT=3333

Safe and close the file … Stop (if it is not already) and Start Public Pool from the UI. (Don’t just use Restart … want to make sure it picks up the new data … in fact …. Do a Cntr-Shift-R on your Browser to Force Reload the WebUI to insure you get the changes you made!)

I can send you an invite to my Discord Channel, if you use Discord or you can join the Umbrel Discord Channel.