<p>You should add </p>

<pre><code>rpcport=8666
rpcallowip=0.0.0.0/0
</code></pre>

<p>Working config file example: </p>

<pre><code>rpcuser=username
rpcpassword=strong_pass
rpcallowip=0.0.0.0/0
listen=0
daemon=1
server=1
txindex=1
timestampindex=1
rpcthreads=4
rpcport=8666
</code></pre>

<p>and make sure the port is already open from your internet provider side and your system firewall. </p>

CC BY-SA 3.0
2018-02-04T17:27:31.487Z
Thank you so much for your reply Adam..I tried the connection after adding 
rpcport=8666
rpcallowip=0.0.0.0/0
in dash.conf file. but its not working. i just pasted the content of the config file below
Albert
CC BY-SA 3.0
2018-02-04T17:27:41.040Z
rpcuser=username
rpcpassword=password
alertnotify=echo %s | mail -s "DASH Alert" <your@email-address.com>
server=1
daemon=1
addnode=23.23.186.131
listen=1
logtimestamps=1
maxconnections=256
masternode=0
masternodeaddr=127.0.0.1:8666
externalip=127.0.0.1

rpcport=8666
rpcallowip=0.0.0.0/0
Albert
CC BY-SA 3.0
2018-02-04T17:28:04.880Z
i also check the connection after changing the ip address to my server's ip address, but its not working. an you pleasde help and suggest a solution..kindly expect your reply..
Albert
CC BY-SA 3.0
2018-02-04T17:42:20.447Z
Please try to disable master node settings and set the config file as the file I posted. and check if it works. Make sure port open in your firewall and your internet router.
Tailer
CC BY-SA 3.0
2018-02-05T11:26:53.497Z
Thank you for your reply Adam.I just tried  as you said.I changed the confidg file and run the wallet.but i could't connect to the wallet programically..

I check the port number of dashd by using the command sudo netstat -lptu . Then it shows

Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 localhost:distinct32        *:*                         LISTEN      5877/dashd
Albert
CC BY-SA 3.0
2018-02-05T11:27:14.787Z
I also check the port number and application using the command netstat -pnt it shows port number is 9999 under the label foriegn address. i think this is the common port of dash coin. but when i try to connect the plugin with coin using the port number '9999' it shows "Empty reply from server0"...  Ithink the port number which was added in the config file "rpcport=8666" will not affect in the wallet when we trying to start the wallet.
Albert
CC BY-SA 3.0
2018-02-05T11:28:47.813Z
and i have one more doubt how can i disable the master node? i didnt congire the master node set up section from the below link
Albert
CC BY-SA 3.0
2018-02-05T11:29:16.253Z
https://planetcrypton.com/install-dash-daemon
Albert
CC BY-SA 3.0
2018-02-05T11:29:41.237Z
can you please give me a solution..kindly expect your reply..
Albert
CC BY-SA 3.0
2018-02-05T11:33:26.693Z
Try to install easyBitcoin php
Tailer
CC BY-SA 3.0
2018-02-06T05:59:18.233Z
Thank you Adam.I just change the port number and now its connected...:)
Albert
CC BY-SA 3.0
2018-02-06T06:06:10.187Z
Don't forget to mark up the answer if that helped.
Tailer
CC BY-SA 3.0
2018-02-01T14:31:12.627Z
2018-02-04T17:41:09.143Z
2018-02-04T17:41:09.143Z
Tailer
<p>I have installed dash coin wallet in my amazon server by using instruction from the below url</p>

<p><a href="https://planetcrypton.com/install-dash-daemon" rel="nofollow noreferrer">https://planetcrypton.com/install-dash-daemon</a></p>

<p>I want to communicate coin wallet via php programme. i just tried the below plugin to connect to the coin wallet from my server. But i coudnt connect to the coin wallet and it says "Empty reply from server0". i added the cofiguration details in the dash.conf file. </p>

<p>i give corresponding values in below configuration set up </p>

<pre><code>rpcuser=&lt;some_reallY_long_really_random_username&gt;
rpcpassword=&lt;some_really_long_really_random_password&gt;
alertnotify=echo %s | mail -s "DASH Alert" &lt;your@email-address.com&gt;
server=1
daemon=1
addnode=23.23.186.131
listen=1
logtimestamps=1
maxconnections=256
masternode=0
masternodeaddr=&lt;ip.add.re.ss&gt;:9999
externalip=&lt;ip.add.re.ss&gt;
</code></pre>

<p>I only set the master node settings in my server because i dont want to connect the master node from the local system.I need to connect the wallet via programically. Can anyone please help me?</p>

CC BY-SA 3.0
2018-02-04T00:36:47.577Z
That master node thing smells like dash/darkcoin, not dashcoin (different coins, long story, dashcoin is a cryptonote, but darkcoin renamed to dash and made it all confusing). You'll want to ask that somewhere dash people congregate, no idea where though.
user36303
<daemon><installation>
communicate programically Dash coin core wallet
Albert
# communicate programically Dash coin core wallet

(Asked by: username_0 on 2018-02-01)

I have installed dash coin wallet in my amazon server by using instruction from the below url
https://planetcrypton.com/install-dash-daemon
I want to communicate coin wallet via php programme. i just tried the below plugin to connect to the coin wallet from my server. But i coudnt connect to the coin wallet and it says "Empty reply from server0". i added the cofiguration details in the dash.conf file. 
i give corresponding values in below configuration set up 
rpcuser=
rpcpassword=
alertnotify=echo %s | mail -s "DASH Alert" 
server=1
daemon=1
addnode=23.23.186.131
listen=1
logtimestamps=1
maxconnections=256
masternode=0
masternodeaddr=:9999
externalip=

I only set the master node settings in my server because i dont want to connect the master node from the local system.I need to connect the wallet via programically. Can anyone please help me?

**Tags:** daemon, installation

> **Comments:**
> **username_1**: That master node thing smells like dash/darkcoin, not dashcoin (different coins, long story, dashcoin is a cryptonote, but darkcoin renamed to dash and made it all confusing). You'll want to ask that somewhere dash people congregate, no idea where though.  

---

## 1 answers

### Answer by username_2 on 2018-02-01. Score: 0 | Accepted answer

You should add 
rpcport=8666
rpcallowip=0.0.0.0/0

Working config file example: 
rpcuser=username
rpcpassword=strong_pass
rpcallowip=0.0.0.0/0
listen=0
daemon=1
server=1
txindex=1
timestampindex=1
rpcthreads=4
rpcport=8666

and make sure the port is already open from your internet provider side and your system firewall.

> **Comments:**
> **username_0**: Thank you so much for your reply Adam..I tried the connection after adding  rpcport=8666 rpcallowip=0.0.0.0/0 in dash.conf file. but its not working. i just pasted the content of the config file below  
> **username_0**: rpcuser=username rpcpassword=password alertnotify=echo %s | mail -s "DASH Alert" <your@email-address.com> server=1 daemon=1 addnode=23.23.186.131 listen=1 logtimestamps=1 maxconnections=256 masternode=0 masternodeaddr=127.0.0.1:8666 externalip=127.0.0.1  rpcport=8666 rpcallowip=0.0.0.0/0  
> **username_0**: i also check the connection after changing the ip address to my server's ip address, but its not working. an you pleasde help and suggest a solution..kindly expect your reply..  
> **username_2**: Please try to disable master node settings and set the config file as the file I posted. and check if it works. Make sure port open in your firewall and your internet router.  
> **username_0**: Thank you for your reply Adam.I just tried  as you said.I changed the confidg file and run the wallet.but i could't connect to the wallet programically..  I check the port number of dashd by using the command sudo netstat -lptu . Then it shows  Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name tcp        0      0 localhost:distinct32        *:*                         LISTEN      5877/dashd  
> **username_0**: I also check the port number and application using the command netstat -pnt it shows port number is 9999 under the label foriegn address. i think this is the common port of dash coin. but when i try to connect the plugin with coin using the port number '9999' it shows "Empty reply from server0"...  Ithink the port number which was added in the config file "rpcport=8666" will not affect in the wallet when we trying to start the wallet.  
> **username_0**: and i have one more doubt how can i disable the master node? i didnt congire the master node set up section from the below link  
> **username_0**: https://planetcrypton.com/install-dash-daemon  
> **username_0**: can you please give me a solution..kindly expect your reply..  
> **username_2**: Try to install easyBitcoin php  
> **username_0**: Thank you Adam.I just change the port number and now its connected...:)  
> **username_2**: Don't forget to mark up the answer if that helped.  

---

