# \[Solved\] Cannot access Mopidy

**URL:** https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203
**Category:** Misc
**Created:** [January 15, 2018, 8:11pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203 "2018-01-15T20:11:18Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Zsolt\_gerlei](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/zsolt_gerlei/32/825_2.png) [@Zsolt\_gerlei](https://discourse.mopidy.com/u/Zsolt_gerlei)
#### Post date: [January 15, 2018, 8:11pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/1 "2018-01-15T20:11:19Z")

</div>

Hi,

Please help, I’m a beginner as for raspberry and linux.  
I could install mopidy, set the confog file, but cannot access mopidy.  
I’ve read a lot of topics but still not working.

I used in config:

[http]  
enabled = true  
hostname = ::  
port = 6680  
static\_dir =  
zeroconf = Mopidy HTTP server on $hostname

If I start the browser on pi , I have access with “raspberrypi:6680” address

but from my laptop not.  
Shall i typie also into the browser in my laptop "raspberrypi:6680"  
I tried with the ip of pi 127.0.1.1:6680 not works.

Mopidy startup:

INFO Starting Mopidy 2.1.0  
INFO Loading config from builtin defaults  
INFO Loading config from /home/pi/.config/mopidy/mopidy.conf  
INFO Loading config from command line options  
INFO Enabled extensions: http, stream, m3u, softwaremixer, file, party, local  
INFO Disabled extensions: mpd  
INFO Starting Mopidy mixer: SoftwareMixer  
INFO Starting Mopidy audio  
INFO Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend  
INFO Audio output set to "autoaudiosink"  
INFO Loaded 23 local tracks using json  
INFO Starting Mopidy core  
INFO Starting Mopidy frontends: HttpFrontend  
INFO HTTP server running at [::]:6680  
INFO Starting GLib mainloop

Thank you for your help in advance!!!

Best regards,  
Zsolt

---

<div class="post-metadata">

### Author: ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)
#### Post date: [January 15, 2018, 8:20pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/2 "2018-01-15T20:20:21Z")

</div>

You want the actual ip address, have a look on your router maybe for the ip address.  
Mine is [http://192.168.0.10:6680/iris/#/discover/](http://192.168.0.10:6680/iris/#/discover/)  
Which webclient have you installed  
You could try raspberrypi.local from your laptop  
You are running as a user not as a service aren’t you?

---

<div class="post-metadata">

### Author: ![Zsolt\_gerlei](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/zsolt_gerlei/32/825_2.png) [@Zsolt\_gerlei](https://discourse.mopidy.com/u/Zsolt_gerlei)
#### Post date: [January 15, 2018, 8:31pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/3 "2018-01-15T20:31:19Z")

</div>

I’ve installed Party web client, yes I’m running it as a user.  
What should i do with my router?  
Sorry but what does it means raspberry.local?  
Sorry! I’am a really beginner in this topic

---

<div class="post-metadata">

### Author: ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)
#### Post date: [January 15, 2018, 8:38pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/4 "2018-01-15T20:38:42Z")

</div>

Can you access your router from your web browser, and find the ip address it’s given to your raspberry pi it will be something like 192.168.0.?

Alternatively from the command line type ifconfig (Link [here](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/finding-your-pis-ip-address))

---

<div class="post-metadata">

### Author: ![Zsolt\_gerlei](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/zsolt_gerlei/32/825_2.png) [@Zsolt\_gerlei](https://discourse.mopidy.com/u/Zsolt_gerlei)
#### Post date: [January 15, 2018, 8:55pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/5 "2018-01-15T20:55:34Z")

</div>

Thank you it works. I checked you wrote, it gives the address 192.168.0.103 to raspberry.  
And if I put this ip to browser , it works 🙂  
I would have an other question. How could I fix the ip for raspberry. I assume this ip what router gives to raspberry may change (reboot, power loss)  
Is it possible to add a name instead of an ip address (as an alias)

---

<div class="post-metadata">

### Author: ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)
#### Post date: [January 15, 2018, 9:28pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/6 "2018-01-15T21:28:28Z")

</div>

I set mine on the router - it’s easier than setting a static ip address on the pi. Have a look for the DHCP settings on the router, the option to ‘reserve an i.p.address’ is usually in there.

To set it on the pi have a look [here](https://thepihut.com/blogs/raspberry-pi-tutorials/16683276-how-to-setup-a-static-ip-address-on-your-raspberry-pi)

To access with name try in the browser [http://nameofpi.local:6680](http://nameofpi.local:6680)  
Substitute nameofpi with name of your own machine

---

<div class="post-metadata">

### Author: ![Zsolt\_gerlei](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/zsolt_gerlei/32/825_2.png) [@Zsolt\_gerlei](https://discourse.mopidy.com/u/Zsolt_gerlei)
#### Post date: [January 15, 2018, 9:33pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/7 "2018-01-15T21:33:46Z")

</div>

Great, Thank you again!!!  
nameofpi.local:6680 works well . In this case I do not need a static ip? Do I?

---

<div class="post-metadata">

### Author: ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)
#### Post date: [January 15, 2018, 9:38pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/8 "2018-01-15T21:38:57Z")

</div>

Probably not, however I don’t think Android (for a phone) will connect using the name.local and will need the i.p. address so I stick to using the i.p. address. This could be outdated now - I’ve had my setup for a while and things may have changed.

---

<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: [January 15, 2018, 9:52pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/9 "2018-01-15T21:52:38Z")

</div>

I believe you are right @Steve_Lambert. Android still doesn’t support that properly.

Depending on your router, [http://nameofpi:6680](http://nameofpi:6680) may just work. Else an address reservation is the way to go.

---

<div class="post-metadata">

### Author: ![Zsolt\_gerlei](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/zsolt_gerlei/32/825_2.png) [@Zsolt\_gerlei](https://discourse.mopidy.com/u/Zsolt_gerlei)
#### Post date: [January 16, 2018, 12:37pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/10 "2018-01-16T12:37:50Z")

</div>

Thank you for the answers, I would have a new one 😀  
I installed three frontend : party, simple-webclient, jukepi  
All three accessible if I run mopidy from command line, but if I started mopidy as a service, only party is visible.  
I coped the config file from home/pi/.config to /etc/mopidy/.

Any idead?  
Thank you in advance!

---

<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: [January 16, 2018, 12:50pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/11 "2018-01-16T12:50:00Z")

</div>

They must be installed with `sudo pip install mopidy-whatever`.

---

<div class="post-metadata">

### Author: ![Zsolt\_gerlei](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/zsolt_gerlei/32/825_2.png) [@Zsolt\_gerlei](https://discourse.mopidy.com/u/Zsolt_gerlei)
#### Post date: [January 16, 2018, 4:03pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/12 "2018-01-16T16:03:17Z")

</div>

Thanx again. It works.  
Are you familiar with jukepi client?  
If I select this first, I cannot see any files what are stored locally, but if I load a playlist with other (e.g mopidy-simple-weblcient), and go back to jukepi, jukepi will see the files.

---

<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: [January 16, 2018, 4:47pm UTC](https://discourse.mopidy.com/t/solved-cannot-access-mopidy/2203/13 "2018-01-16T16:47:10Z")

</div>

Sorry, not familiar with that client.
