github.com/piotrnar/gocoin@v0.0.0-20240512203912-faa0448c5e96/website/gocoin_manual_client.html (about)

     1  <html>
     2  <head>
     3  <link rel="stylesheet" href="style.css" type="text/css">
     4  </head>
     5  <body>
     6  <h1>Client node</h1>
     7  Run <code>client -h</code> to see all available command line switches. Some example ones are:
     8  <br>
     9  <br>
    10  <code>-t - use Testnet (instead of regular bitcoin network)<br>
    11  -ul=NN - set maximum upload speed to NN kilobytes per second<br>
    12  -dl=NN - set maximum download speed to NN kilobytes per second<br>
    13  </code>
    14  <br>
    15  To run the client on a remote Linux server (via ssh connection), you probably want to get adventage of <b>screen</b> command.
    16  <br>
    17  <h2>TextUI</h2>
    18  When the client is already running you have an interactive, text command based interface, on the console.<br>
    19  Type <code>help</code> to see the possible commands.
    20  <br>
    21  
    22  <h2>WebUI</h2>
    23  There is also a web interface that you can operate with a web browser.<br>
    24  <br>
    25  
    26  Make sure to have the <code>www/</code> folder in the location where you execute the client from.<br>
    27  The folder contains files that are an essencial part of the WebUI application.<br>
    28  <br>
    29  WebUI application is tested with Google Chrome, but should be compatible with any modern web browser.<br>
    30  <br>
    31  By default (for security reasons) WebUI is available only from a local host, via <a target="_blank" href="http://127.0.0.1:8833/">http://127.0.0.1:8833/</a><br>
    32  <br>
    33  <h3>Remote server</h3>
    34  In order to use WebUI securely on a remote server, set up <b>ssh tunneling</b> to port 8833.<br>
    35  <br>
    36  <h3>Local network</h3>
    37  If you run the node on a local network and want to have access to its WebUI from different computers:<br>
    38  <ul><li>Open <code>gocoin.conf</code> file in a text editor (or edit it at the <b>Home</b> page of the WebUI).</li>
    39  <li>Change <code>Interface</code> value in the config file to <code>:8833</code> (<i>Note: this binds the web service to all network interfaces).</i></li>
    40  <li>Change <code>AllowedIP</code> value to allow access from all the addresses you need - e.g. <code>127.0.0.1,192.168.0.0/16</code> (<i>Note: <code>0.0.0.0/0</code> allows to connect from anywhere).</i></li>
    41  <li>Remember to save the new config and then restart your node.</li></ul>
    42  <br>
    43  Read more about the config file at the <a href="gocoin_manual_config.html">config file</a> page.
    44  </body>
    45  </html>