#35 Connection refused

Open
opened 11 months ago by slackline · 8 comments

Hi,

Thanks for writing and sharing these packages.

I've been trying to configure mpdel to control MPD on a remote server.

My configuration is...

;; MPDEL CONFIGURATION
;; --------------------------------------
(use-package mpdel
  :defer 2
  :init
  (setq libmpdel-hostname "192.168.1.21")
  (setq libmpdel-port 6600))
(use-package ivy-mpdel
  :defer 2)

When I C-x Z iI'm informed...

libmpdel--connect: make client process failed: Connection refused, :name, mpd, :buffer, *mpd*, :host, 192.168.1.21, :service, 6600, :family, ipv4, :type, nil

Having read through your documentation, thanks also for writing this, I can't work out what I've configured incorrectly. I can control MPD remotely using GMPC or the Android application M.A.L.P. without any problems and do not have a password set so I don't think there is a problem on the server side its something in my confirguration of MPDel (or libmpdel).

Any advice would be gratefully received.

Hi, Thanks for writing and sharing these packages. I've been trying to configure `mpdel` to control MPD on a remote server. My configuration is... ``` ;; MPDEL CONFIGURATION ;; -------------------------------------- (use-package mpdel :defer 2 :init (setq libmpdel-hostname "192.168.1.21") (setq libmpdel-port 6600)) (use-package ivy-mpdel :defer 2) ``` When I `C-x Z i`I'm informed... ``` libmpdel--connect: make client process failed: Connection refused, :name, mpd, :buffer, *mpd*, :host, 192.168.1.21, :service, 6600, :family, ipv4, :type, nil ``` Having read through your documentation, thanks also for writing this, I can't work out what I've configured incorrectly. I can control MPD remotely using [GMPC](http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client) or the Android application [M.A.L.P.](https://f-droid.org/en/packages/org.gateshipone.malp/) without any problems and do not have a password set so I don't think there is a problem on the server side its something in my confirguration of MPDel (or libmpdel). Any advice would be gratefully received.
Poster
Owner

I'm sorry you can't make mpdel work. I also have no clue about your problem. Can you please try this in a terminal:

$ telnet -4 localhost 6600

and copy/paste me the result?

I'm sorry you can't make mpdel work. I also have no clue about your problem. Can you please try this in a terminal: ``` $ telnet -4 localhost 6600 ``` and copy/paste me the result?
Poster
Owner

Which version of mpdel are you using? A stable one? One from git?

Can you please show me the GMPC/MALP configuration?

Which version of mpdel are you using? A stable one? One from git? Can you please show me the GMPC/MALP configuration?
Poster
Owner

I just released 1.3.0. Can you please try that?

I just released 1.3.0. Can you please try that?
Poster

Hi,

Thanks for taking the time to look at this and reply.

Version I have installed is from MELPA and is 20210107.1303, MELPA stable hasn't yet picked up your 1.3.0 release (as far as I can tell).

Relevant section of GMPC configuration for the server I'm trying to connect to is...

[Default]
hostname="192.168.1.21"
name="Alarmpi"
password=""
portnumber="6600"
useauth="0"
music directory=""
db update time="1604425044"
[]

And with a slight tweak because I'm not trying to connect to the localhost....

❱ telnet -4 192.168.1.21 6600
Trying 192.168.1.21...
telnet: Unable to connect to remote host: Connection refused
Hi, Thanks for taking the time to look at this and reply. Version I have installed is from MELPA and is 20210107.1303, MELPA stable hasn't yet picked up your 1.3.0 release (as far as I can tell). Relevant section of GMPC configuration for the server I'm trying to connect to is... ``` [Default] hostname="192.168.1.21" name="Alarmpi" password="" portnumber="6600" useauth="0" music directory="" db update time="1604425044" [] ``` And with a slight tweak because I'm not trying to connect to the `localhost`.... ``` ❱ telnet -4 192.168.1.21 6600 Trying 192.168.1.21... telnet: Unable to connect to remote host: Connection refused ```
Poster
Owner

I don't understand how GMPC manages to connect but not telnet. Are both running from the same machine?

I don't understand how GMPC manages to connect but not telnet. Are both running from the same machine?
Poster

Sorry for the delay, yes, they are both running on the same machine.

Sorry for the delay, yes, they are both running on the same machine.
Poster
Owner

I'm lost, I'm sorry.

I'm lost, I'm sorry.
Poster

Don't worry, but thank you for taking the time to look at the problem, very much appreciated.

Don't worry, but thank you for taking the time to look at the problem, very much appreciated.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.