# Wrong configuration

**URL:** <https://discourse.mopidy.com/t/wrong-configuration/3872>\
**Category:** Misc\
**Created:** [April 1, 2020, 5:07pm UTC](https://discourse.mopidy.com/t/wrong-configuration/3872 "2020-04-01T17:07:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hildepont](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hildepont](https://discourse.mopidy.com/u/Hildepont)\
**Post date:** [April 1, 2020, 5:07pm UTC](https://discourse.mopidy.com/t/wrong-configuration/3872/1 "2020-04-01T17:07:44Z")

</div>

I installed Mopidy on my raspberry and i try to access via my broswer (192.168.0.144:6680). My pi works great, I’m sure of the ip, an other service (transmission) works great

I edit the config file .config/mopidy/mopidy.conf, and i set :

```
[http]
#enabled = true
#hostname = 192.168.0.144
#port = 6680
#zeroconf = Mopidy HTTP server on $hostname
#allowed_origins = 
#csrf_protection = true
#default_app = mopidy

```

But when i start Mopidy, nothing changes. Here is the _sudo mopidyctl config_ answer :

```
[http]
enabled = true
hostname = 127.0.0.1
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins = 
csrf_protection = true
default_app = mopidy

```

It looks like my config edit is not taken into account…

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [April 1, 2020, 5:29pm UTC](https://discourse.mopidy.com/t/wrong-configuration/3872/2 "2020-04-01T17:29:31Z")

</div>

It looks like you are confusing the two different ways of using Mopidy. They are documented at [https://docs.mopidy.com/en/latest/running/](https://docs.mopidy.com/en/latest/running/). Make sure you edit the correct config file for the way you want to run Mopidy.

Also note that lines starting with a ‘#’ are comments and are ignored. Delete the ‘#’ character for the line to take effect. You do not need to define config for those options where you are using the defaults, [as the docs suggests](https://docs.mopidy.com/en/latest/config/). So ideally your config (the location depending on how you want to run Mopidy) would be:

```auto
[http]
hostname = ::

```

---

<div class="post-metadata">

**Author:** ![Hildepont](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hildepont](https://discourse.mopidy.com/u/Hildepont)\
**Post date:** [April 1, 2020, 6:07pm UTC](https://discourse.mopidy.com/t/wrong-configuration/3872/3 "2020-04-01T18:07:11Z")

</div>

oh, it works !  
I changed /etc/mopidy/mopidy.conf and launched the service  
It works great,  
thx
