# Configuring Mopidy

**URL:** <https://discourse.mopidy.com/t/configuring-mopidy/5950>\
**Category:** Misc\
**Created:** [May 15, 2024, 3:47pm UTC](https://discourse.mopidy.com/t/configuring-mopidy/5950 "2024-05-15T15:47:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![David](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@David](https://discourse.mopidy.com/u/David)\
**Post date:** [May 15, 2024, 3:47pm UTC](https://discourse.mopidy.com/t/configuring-mopidy/5950/1 "2024-05-15T15:47:54Z")

</div>

As a newbie on Linux I need help to configure mopidy. I have a SBC (Freedombox Pioneer) with Debian/Freedombox and I think that I was able to successfully install mopidy. I have an external soundcard pluged into the usb-port. But despite all the reading I wasn’t able to configure mopidy. The issue is, that I can’t reach the webinterface. Here is the output of mopidy config:

```auto
[core]
cache_dir = $XDG_CACHE_DIR/mopidy
config_dir = $XDG_CONFIG_DIR/mopidy
data_dir = $XDG_DATA_DIR/mopidy
max_tracklist_length = 10000
restore_state = false

[logging]
verbosity = 0
format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
color = true
config_file = 

[audio]
mixer = software
mixer_volume = 
output = autoaudiosink
buffer_time = 

[proxy]
scheme = 
hostname = 
port = 
username = 
password = 

[file]
enabled = true
media_dirs = 
  $XDG_MUSIC_DIR|Music
  ~/|Home
excluded_file_extensions = 
  .directory
  .html
  .jpeg
  .jpg
  .log
  .nfo
  .pdf
  .png
  .txt
  .zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

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

[m3u]
enabled = true
base_dir = 
default_encoding = latin-1
default_extension = .m3u8
playlists_dir = 

[softwaremixer]
enabled = true

[stream]
enabled = true
protocols = 
  http
  https
  mms
  rtmp
  rtmps
  rtsp
metadata_blacklist = 
timeout = 5000

[alsamixer]
enabled = true
card = 0
control = Master
min_volume = 0
max_volume = 100
volume_scale = cubic

[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password = 
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist = 
  listall
  listallinfo
default_playlist_scheme = m3u

```

My server runs on 192.168.178.46. But I was not able to adjust the configuration file.  
When I start mopidy in the terminal I receive this output:

```auto
INFO 2024-05-15 17:43:45,483 [23061:MainThread] mopidy. __main__
  Starting Mopidy 3.4.1
INFO 2024-05-15 17:43:45,612 [23061:MainThread] mopidy.config
  Loading config from builtin defaults
INFO 2024-05-15 17:43:45,624 [23061:MainThread] mopidy.config
  Loading config from file:///home/FBHS2/.config/mopidy/mopidy.conf
INFO 2024-05-15 17:43:45,628 [23061:MainThread] mopidy.config
  Loading config from command line options
INFO 2024-05-15 17:43:46,865 [23061:MainThread] mopidy. __main__
  Enabled extensions: stream, http, alsamixer, file, m3u, mpd, softwaremixer
INFO 2024-05-15 17:43:46,866 [23061:MainThread] mopidy. __main__
  Disabled extensions: none
INFO 2024-05-15 17:43:48,073 [23061:MainThread] mopidy.commands
  Starting Mopidy mixer: SoftwareMixer
INFO 2024-05-15 17:43:48,090 [23061:MainThread] mopidy.commands
  Starting Mopidy audio
INFO 2024-05-15 17:43:48,112 [23061:MainThread] mopidy.commands
  Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend
INFO 2024-05-15 17:43:48,233 [23061:MainThread] mopidy.commands
  Starting Mopidy core
INFO 2024-05-15 17:43:48,244 [23061:Audio-2 (_actor_loop)] mopidy.audio.actor
  Audio output set to "autoaudiosink"
INFO 2024-05-15 17:43:48,331 [23061:MainThread] mopidy.commands
  Starting Mopidy frontends: HttpFrontend, MpdFrontend
INFO 2024-05-15 17:43:48,347 [23061:HttpFrontend-8 (_actor_loop)] mopidy.http.actor
  HTTP server running at [::ffff:127.0.0.1]:6680
INFO 2024-05-15 17:43:48,352 [23061:MainThread] mopidy_mpd.actor
  MPD server running at [::ffff:127.0.0.1]:6600
INFO 2024-05-15 17:43:48,365 [23061:MainThread] mopidy.commands
  Starting GLib mainloop

```

Does anybody have the nerves to help and guide me through the configuration?

kind regards  
David

---

<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:** [May 15, 2024, 4:23pm UTC](https://discourse.mopidy.com/t/configuring-mopidy/5950/2 "2024-05-15T16:23:21Z")

</div>

Take a look at [Can't access Mopidy through localhost](https://discourse.mopidy.com/t/cant-access-mopidy-through-localhost/824)

---

<div class="post-metadata">

**Author:** ![David](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@David](https://discourse.mopidy.com/u/David)\
**Post date:** [May 15, 2024, 5:26pm UTC](https://discourse.mopidy.com/t/configuring-mopidy/5950/3 "2024-05-15T17:26:31Z")

</div>

Thank you @kingosticks! I did try these steps, but still get an error.  
I have changed the configuration to `hostname = 0.0.0.0` and when I go to 192.168.178.46:6680 in the browser the address is not accessible (the server is well reachable).  
Starting mopidy in the terminal gives me this information:  
`HTTP server running at [::ffff:0.0.0.0]:6680`  
What am I doing wrong? Many thanks in advance!

---

<div class="post-metadata">

**Author:** ![David](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@David](https://discourse.mopidy.com/u/David)\
**Post date:** [May 18, 2024, 10:41am UTC](https://discourse.mopidy.com/t/configuring-mopidy/5950/4 "2024-05-18T10:41:59Z")

</div>

The firewall didn’t let me on the system. I disabled the firewall and am now able to reach the server 🙂

---

<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:** [May 18, 2024, 4:54pm UTC](https://discourse.mopidy.com/t/configuring-mopidy/5950/5 "2024-05-18T16:54:27Z")

</div>

Thanks for the update. I’m not familiar with that distribution

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/system/32/1_2.png) [@system](https://discourse.mopidy.com/u/system)\
**Post date:** [November 17, 2024, 4:54am UTC](https://discourse.mopidy.com/t/configuring-mopidy/5950/6 "2024-11-17T04:54:35Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
