# Websocket Connection Refused at Mopify Service

**URL:** https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623
**Category:** Pi MusicBox (archive)
**Created:** [December 11, 2019, 7:53pm UTC](https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623 "2019-12-11T19:53:34Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jan\_welker](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jan_welker/32/1362_2.png) [@jan\_welker](https://discourse.mopidy.com/u/jan_welker)
#### Post date: [December 11, 2019, 7:53pm UTC](https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623/1 "2019-12-11T19:53:34Z")

</div>

Hello,

when I start Mopidy as PI user manually the music box webclient works fine. When I start Mopidy as service using this command: sudo service Mopidy start I get an error in the browser console:

mopidy.min.js:5 WebSocket connection to ‘ws://127.0.0.1:6680/mopidy/ws’ failed: Error in connection establishment: net::ERR\_CONNECTION\_REFUSED

What can I do?

Best  
Jan

---

<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 11, 2019, 8:54pm UTC](https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623/2 "2019-12-11T20:54:27Z")

</div>

What’s mopify? Is this really a pi musicbox question?

---

<div class="post-metadata">

### Author: ![jan\_welker](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jan_welker/32/1362_2.png) [@jan\_welker](https://discourse.mopidy.com/u/jan_welker)
#### Post date: [December 11, 2019, 8:56pm UTC](https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623/3 "2019-12-11T20:56:37Z")

</div>

Sorry this is a typo. I mean mopidy.

---

<div class="post-metadata">

### Author: ![jan\_welker](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jan_welker/32/1362_2.png) [@jan\_welker](https://discourse.mopidy.com/u/jan_welker)
#### Post date: [December 11, 2019, 10:06pm UTC](https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623/4 "2019-12-11T22:06:51Z")

</div>

please delete this post, thanks

---

<div class="post-metadata">

### Author: ![Jonohas](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jonohas/32/1926_2.png) [@Jonohas](https://discourse.mopidy.com/u/Jonohas)
#### Post date: [January 28, 2021, 8:52pm UTC](https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623/5 "2021-01-28T20:52:01Z")

</div>

Have you found a solution yet @jan_welker ? I have stumbled onto the same problem

---

<div class="post-metadata">

### Author: ![jan\_welker](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jan_welker/32/1362_2.png) [@jan\_welker](https://discourse.mopidy.com/u/jan_welker)
#### Post date: [January 28, 2021, 9:43pm UTC](https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623/6 "2021-01-28T21:43:10Z")

</div>

Yes my system is running. But I don’t know what the cause was at that time. It was a year ago.

---

<div class="post-metadata">

### Author: ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)
#### Post date: [February 19, 2026, 11:46am UTC](https://discourse.mopidy.com/t/websocket-connection-refused-at-mopify-service/3623/7 "2026-02-19T11:46:51Z")

</div>


