<p>when starting <code>lightningd</code>, you want to add the option:</p>

<p><code>--addr=[insert your IP address here]</code></p>

<p>so maybe when starting your lightning node, at your command line you would enter:</p>

<p><code>lightningd --alias DavideRivola --network bitcoin --log-level debug --port 9735 -ipaddr 192.168.1.1</code></p>

<p>Where <code>192.168.1.1</code> you would of course, put your own IP address.</p>

<p>Also, since you are probably unaware of this as well, in case you want to choose the port, use the <code>--port=9735</code> option and just change the port to which you want to use. Everybody pretty much uses port <code>9735</code> though. Make sure that this port is forwarded on your internet router and is not blocked by your firewall either.</p>

<p>Also, if you want to choose the color that represents your LN Node on the #recksplorer site, you can use the following option <code>--rgb 00cc00</code> where <code>00cc00</code> is the RGB code you would like to use. (In this case I have chosen green, because, well..look at my name :) )</p>

<p>Use this site to find the corresponding RGB Code for the color you want to use: <a href="http://www.color-hex.com/" rel="nofollow noreferrer">http://www.color-hex.com/</a></p>

<p>use the command <code>lightning-cli listconfigs</code> to check what you have configured for your node to make sure everything is right after it is up and running.</p>

CC BY-SA 4.0
2018-02-27T03:36:24.567Z
2018-06-21T14:02:00.933Z
2018-06-21T14:02:00.933Z
CryptoChronicus
<p>I did set up a mainnet c-lightning node by following the guide.
<a href="https://medium.com/@dougvk/run-your-own-mainnet-lightning-node-2d2eab628a8b" rel="nofollow noreferrer">https://medium.com/@dougvk/run-your-own-mainnet-lightning-node-2d2eab628a8b</a></p>

<p>I noticed my node is visible on <a href="https://lnmainnet.gaben.win/" rel="nofollow noreferrer">https://lnmainnet.gaben.win/</a> but the URI is unknown. Is there some settings I need to check on my server?</p>

CC BY-SA 3.0
2018-01-26T01:29:08.813Z
I'm voting to close this question as off-topic because it's about a specific piece of software and is best asked on that software's developer mailing list.
Alin Tomescu
CC BY-SA 3.0
2018-02-27T08:07:28.217Z
@Alin: no, I think OP is about lightning network, which is integral part of bitcoin network.
pebwindkraft
<lightning-network><core-lightning>
My lightning node URI is not visible
Davide Rivola
# My lightning node URI is not visible

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

I did set up a mainnet c-lightning node by following the guide.
<https://medium.com/@dougvk/run-your-own-mainnet-lightning-node-2d2eab628a8b>

I noticed my node is visible on <https://lnmainnet.gaben.win/> but the URI is unknown. Is there some settings I need to check on my server?

**Tags:** lightning-network, core-lightning

> **Comments:**
> **username_1**: I'm voting to close this question as off-topic because it's about a specific piece of software and is best asked on that software's developer mailing list.  
> **username_2**: @username_1: no, I think OP is about lightning network, which is integral part of bitcoin network.  

---

## 1 answers

### Answer by username_3 on 2018-02-27. Score: 3

when starting `lightningd`, you want to add the option:

`--addr=[insert your IP address here]`

so maybe when starting your lightning node, at your command line you would enter:

`lightningd --alias username_0 --network bitcoin --log-level debug --port 9735 -ipaddr 192.168.1.1`

Where `192.168.1.1` you would of course, put your own IP address.

Also, since you are probably unaware of this as well, in case you want to choose the port, use the `--port=9735` option and just change the port to which you want to use. Everybody pretty much uses port `9735` though. Make sure that this port is forwarded on your internet router and is not blocked by your firewall either.

Also, if you want to choose the color that represents your LN Node on the #recksplorer site, you can use the following option `--rgb 00cc00` where `00cc00` is the RGB code you would like to use. (In this case I have chosen green, because, well..look at my name :) )

Use this site to find the corresponding RGB Code for the color you want to use: <http://www.color-hex.com/>

use the command `lightning-cli listconfigs` to check what you have configured for your node to make sure everything is right after it is up and running.


---

