# Customize Ratel serving address

**URL:** <https://discuss.dgraph.io/t/customize-ratel-serving-address/8014>\
**Category:** Ratel\
**Tags:** kind:enhancement, kind:feature, ratel\
**Created:** [September 30, 2019, 7:11pm UTC](https://discuss.dgraph.io/t/customize-ratel-serving-address/8014 "2019-09-30T19:11:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [September 30, 2019, 7:11pm UTC](https://discuss.dgraph.io/t/customize-ratel-serving-address/8014/1 "2019-09-30T19:11:56Z")

</div>

**Moved from GitHub [ratel/132](https://github.com/dgraph-io/ratel/issues/132)**

_Posted by_ [danielmai](https://github.com/danielmai):

By default Ratel serves the UI over `:::8000` (all addresses). The `-port` flag exists today to customize the port (default: 8000). There should also be a flag to configure the address. For example, it can be useful to restrict the Ratel web server to only allow access via the server itself on localhost.

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [October 3, 2019, 11:17am UTC](https://discuss.dgraph.io/t/customize-ratel-serving-address/8014/2 "2019-10-03T11:17:45Z")

</div>

[paulftw](https://github.com/paulftw) _commented_ :

Bad actors can run Ratel locally to bypass this restriction, so it doesn’t introduce any extra security.  
What are other reasons to add this feature?

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [February 24, 2020, 1:51pm UTC](https://discuss.dgraph.io/t/customize-ratel-serving-address/8014/3 "2020-02-24T13:51:07Z")

</div>

[paulftw](https://github.com/paulftw) _commented_ :

IIRC Ahmed already merged this in. Please reopen if more configuration is still needed

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [July 11, 2020, 3:20am UTC](https://discuss.dgraph.io/t/customize-ratel-serving-address/8014/4 "2020-07-11T03:20:22Z")

</div>

Closed on July 11, 2020, 3:20am UTC


