# Need help setting up Mopidy server!

**URL:** <https://discourse.mopidy.com/t/need-help-setting-up-mopidy-server/3614>\
**Category:** Misc\
**Created:** [December 1, 2019, 2:38pm UTC](https://discourse.mopidy.com/t/need-help-setting-up-mopidy-server/3614 "2019-12-01T14:38:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kantor\_K](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/kantor_k/32/1358_2.png) [@Kantor\_K](https://discourse.mopidy.com/u/Kantor_K)\
**Post date:** [December 1, 2019, 2:38pm UTC](https://discourse.mopidy.com/t/need-help-setting-up-mopidy-server/3614/1 "2019-12-01T14:38:12Z")

</div>

Hi guys! 🙂 First of all would really appreciate some help and troubleshooting 🙂

my config looks like this:  
# For further information about options in this file see:

# [http://docs.mopidy.com/](http://docs.mopidy.com/)

# 

# The initial commented out values reflect the defaults as of:

# Mopidy 2.3.1

# Mopidy-File 2.3.1

# Mopidy-HTTP 2.3.1

# Mopidy-Local 2.3.1

# Mopidy-M3U 2.3.1

# Mopidy-MPD 2.3.1

# Mopidy-SoftwareMixer 2.3.1

# Mopidy-Stream 2.3.1

# 

# Available options and defaults might have changed since then,

# run `mopidy config` to see the current effective config and

# `mopidy --version` to check the current version.

[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]  
color = true  
console\_format = %(levelname)-8s %(message)s  
debug\_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s  
debug\_file = mopidy.log  
config\_file =

[audio]  
mixer = software  
mixer\_volume =  
output = autoaudiosink  
buffer\_time =

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

[mpd]  
enabled = false  
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

[http]  
enabled = true  
hostname = 127.0.0.1  
port = 6680  
static\_dir =  
zeroconf = Mopidy HTTP server on $hostname  
allowed\_origins =  
csrf\_protection = true

[stream]  
enabled = true  
protocols =  
http  
https  
mms  
rtmp  
rtmps  
rtsp  
metadata\_blacklist =  
timeout = 5000

[m3u]  
enabled = true  
base\_dir =  
default\_encoding = latin-1  
default\_extension = .m3u8  
playlists\_dir =

[softwaremixer]  
enabled = true

[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

[local]  
enabled = true  
library = json  
media\_dir = /home/pi/media  
scan\_timeout = 1000  
scan\_flush\_threshold = 100  
scan\_follow\_symlinks = false  
excluded\_file\_extensions =  
.directory  
.html  
.jpeg  
.jpg  
.log  
.nfo  
.pdf  
.png  
.txt  
.zip

But I am unable to connect to my server, any help on that? Usding the 127…ip adress, is this the correct one? And secondly I would like to connect to the server out of my home network, any docs on that? 🙂

---

<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:** [December 1, 2019, 2:52pm UTC](https://discourse.mopidy.com/t/need-help-setting-up-mopidy-server/3614/2 "2019-12-01T14:52:59Z")

</div>

There’s information about configuring the hostname at [http://docs.mopidy.com/en/latest/ext/http/](http://docs.mopidy.com/en/latest/ext/http/)

Please read that page carefully, specifically the warning as it is relevant to your 2nd question. Also, just to check, are you aware that Mopidy plays music on the server’s sound card/device - it does not stream music to your browser. Which is usually why people don’t need to connect from outside their network. We don’t have any guides about how to expose Mopidy outside of your LAN.
