Log into wallet from another computer
-
I am working on setting up jminer and wallet to run on a headless Fedora server. Currently it is only possible to use the wallet from the computer that it is running on (the port is not exposed). Since there is no way to run a web browser on a headless server, I need to be able to access the wallet from another computer. Does anyone know an easy way to expose the wallet port on linux?
-
Never mind, figured it out. Just had to add a new service to iptables and then edit the nxt.properties config file to allow access (changed 127.0.0.1 to 0.0.0.0 in a few places).
-
Specifically you need to copy conf/nxt-default.properties to conf/nxt.properties and change the line nxt.apiServerHost=127.0.0.1 to nxt.apiServerHost=0.0.0.0
Then it is just a matter of configuring your iptables to open this port (lookup instructions for your distro).
Of course exposing your port to your local network will make your wallet far more vulnerable so do so at your own risk. It would be safer to only open this port when you need it.
-
You also have to change the line
nxt.allowedUserHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1];
to
nxt.allowedUserHosts=*; localhost; [0:0:0:0:0:0:0:1];