<p>Unfortunately you didn't provide enough information:</p>

<ul>
<li>Which OS?</li>
<li>Version number of your Namecoin server?</li>
<li>Does this Namecoin server run on your local machine? If not, how is it connected physically?</li>
<li>Did you apply any command line params when starting the server?</li>
<li>What is the content of your namecoin.conf file?</li>
</ul>

<p>Generally speaking, the most common causes for RPC connection problems are:</p>

<ul>
<li>Mismatch of the provided data (rpcuser, rpcpassword, rpcport) with the contents of namecoin.conf</li>
<li>Command line parameter <em>-server</em> is missing</li>
</ul>

CC BY-SA 3.0
2016-01-02T23:37:21.733Z
2016-01-02T23:50:13.020Z
2016-01-02T23:50:13.020Z
cassini
<p>Hey I am trying to connect to my namecoin server. I have hosted and done the first <em>name_firstupdate</em>. I am using easybitcoin.php. I have stored the <em>rnd</em> and <em>txid</em> I need from the <em>name_new</em> step but when I execute the code the server doesn't respond with anything. I checked my namecoind <em>name_list</em> the domain that's being registered doesn't show up. Any help would be awesome, thank you. </p>

<p><a href="http://allaboutbit.com/dotbitaddress" rel="nofollow">http://allaboutbit.com/dotbitaddress</a> for an example of the prior steps.</p>

<pre><code>$d = 'd/';
$space = " ";
require_once('easybitcoin.php');
$bitcoin = new Bitcoin('username','password','159.206.21.47','8336');
$domainQuery = mysqli_query($conn, "SELECT domain_name from dotbitdomains WHERE status = '13'");
$domainLevel = mysqli_fetch_row($domainQuery);
            $url = $domainLevel[0];
//select rnd
$rndQuery = mysqli_query($conn, "SELECT rnd from dotbitdomains WHERE status = '13'");
$rndLevel = mysqli_fetch_row($rndQuery);
            $rnd = $rndLevel[0];
//select txid
$txidQuery = mysqli_query($conn, "SELECT txid from dotbitdomains WHERE status = '13'");
$txidLevel = mysqli_fetch_row($txidQuery);
            $txid = $txidLevel[0];
//select username
$userQuery = mysqli_query($conn, "SELECT username from dotbitdomains WHERE status = '13'");
$userLevel = mysqli_fetch_row($userQuery);
            $username = $userLevel[0];
$bitcoin-&gt;name_firstupdate($d.$url.$space.$rnd.$space.$txid);
</code></pre>

<json-rpc><namecoin><php>
namecoin name_firstupdate
Levon Willson
# namecoin name_firstupdate

(Asked by: username_0 on 2015-11-14)

Hey I am trying to connect to my namecoin server. I have hosted and done the first *name\_firstupdate*. I am using easybitcoin.php. I have stored the *rnd* and *txid* I need from the *name\_new* step but when I execute the code the server doesn't respond with anything. I checked my namecoind *name\_list* the domain that's being registered doesn't show up. Any help would be awesome, thank you.

<http://allaboutbit.com/dotbitaddress> for an example of the prior steps.

```
$d = 'd/';
$space = " ";
require_once('easybitcoin.php');
$bitcoin = new Bitcoin('username','password','159.206.21.47','8336');
$domainQuery = mysqli_query($conn, "SELECT domain_name from dotbitdomains WHERE status = '13'");
$domainLevel = mysqli_fetch_row($domainQuery);
            $url = $domainLevel[0];
//select rnd
$rndQuery = mysqli_query($conn, "SELECT rnd from dotbitdomains WHERE status = '13'");
$rndLevel = mysqli_fetch_row($rndQuery);
            $rnd = $rndLevel[0];
//select txid
$txidQuery = mysqli_query($conn, "SELECT txid from dotbitdomains WHERE status = '13'");
$txidLevel = mysqli_fetch_row($txidQuery);
            $txid = $txidLevel[0];
//select username
$userQuery = mysqli_query($conn, "SELECT username from dotbitdomains WHERE status = '13'");
$userLevel = mysqli_fetch_row($userQuery);
            $username = $userLevel[0];
$bitcoin->name_firstupdate($d.$url.$space.$rnd.$space.$txid);

```

**Tags:** json-rpc, namecoin, php


---

## 1 answers

### Answer by username_1 on 2016-01-02. Score: 1

Unfortunately you didn't provide enough information:

* Which OS?
* Version number of your Namecoin server?
* Does this Namecoin server run on your local machine? If not, how is it connected physically?
* Did you apply any command line params when starting the server?
* What is the content of your namecoin.conf file?

Generally speaking, the most common causes for RPC connection problems are:

* Mismatch of the provided data (rpcuser, rpcpassword, rpcport) with the contents of namecoin.conf
* Command line parameter *-server* is missing


---

