Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
Update connecting-to-mainnet.html to specify port instructions for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
DogeProtocol authored Feb 13, 2024
1 parent 0f09301 commit 50eea6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/connecting-to-mainnet.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,9 @@ <h5>Warning</h5>
<div class="card card-body toggle_body">
Note that in case you are SSH'd into this computer, you might get logged out when you run these commands. In this case, you will need to SSH again and re-run the applicable steps before this step.
<pre class="language-html"><code class="language-html" data-lang="html">sudo ufw allow 30303/tcp</code></pre>
The next command to open port 22 is required only if you are SSH'd into the computer. If you do not open this port but enable firewall in the next command, then you might get permanently get locked out of the machine. But if you are logged in locally, do not run this command.
<pre class="language-html"><code class="language-html" data-lang="html">sudo ufw allow 22/tcp</code></pre>
Run the following command to enable firewall.
<pre class="language-html"><code class="language-html" data-lang="html">sudo ufw enable</code></pre>
</div>
</div>
Expand Down

0 comments on commit 50eea6a

Please sign in to comment.