Move Corsproxy port for btc rpc from 8334->8335 since bitcoin uses 8334 now

This commit is contained in:
Taylor Helsper 2021-02-10 00:00:38 -06:00
parent c36297fbac
commit b9cb63085b
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ After=bitcoind.service
ExecStartPre=/usr/bin/is_not_shutting_down.sh
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
WorkingDirectory=/opt/mynode/corsproxy
Environment="CORSPROXY_PORT=8334" "CORSPROXY_HOST=0.0.0.0" "CORSPROXY_TARGET=localhost:8332" "CORSPROXY_USE_HTTPS=true" "CORSPROXY_HTTPS_KEY=/home/bitcoin/.mynode/https/myNode.local.key" "CORSPROXY_HTTPS_CERT=/home/bitcoin/.mynode/https/myNode.local.crt"
Environment="CORSPROXY_PORT=8335" "CORSPROXY_HOST=0.0.0.0" "CORSPROXY_TARGET=localhost:8332" "CORSPROXY_USE_HTTPS=true" "CORSPROXY_HTTPS_KEY=/home/bitcoin/.mynode/https/myNode.local.key" "CORSPROXY_HTTPS_CERT=/home/bitcoin/.mynode/https/myNode.local.crt"
ExecStart=/usr/bin/npm start
User=root

View File

@ -28,7 +28,7 @@ ufw allow from 172.17.0.0/16 to any port 28333 comment 'allow Dojo zmqrawtx'
ufw allow from 172.28.0.0/16 to any port 28333 comment 'allow Dojo zmqrawtx'
ufw allow from 172.17.0.0/16 to any port 28334 comment 'allow Dojo zmqhashblock'
ufw allow from 172.28.0.0/16 to any port 28334 comment 'allow Dojo zmqhashblock'
ufw allow 8334 comment 'allow corsproxy for btc rpc'
ufw allow 8335 comment 'allow corsproxy for btc rpc'
ufw allow 2222 comment 'allow WebSSH2'
ufw allow 2223 comment 'allow WebSSH2 HTTPS'
ufw allow 3000 comment 'allow LndHub'

View File

@ -47,7 +47,7 @@
<ol class="instructions-steps">
<li>Change the Public/Private option to Private</li>
<li>Change the URL to your node's IP address: <a href="https://{{local_ip}}:8334" target="_blank">https://{{local_ip}}:8334</a></li>
<li>Change the URL to your node's IP address: <a href="https://{{local_ip}}:8335" target="_blank">https://{{local_ip}}:8335</a></li>
<ul>
<li>You may need to visit the URL in your browser and accept the HTTPS certificate</li>
</ul>