816b Why cannot mpc work? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old April 30th, 2012, 01:57
sw2wolf sw2wolf is offline
Member
 
Join Date: Feb 2010
Location: China
Posts: 212
Thanks: 1
Thanked 1 Time in 1 Post
Default Why cannot mpc work?

The musicpd has started successfully:
Code:
>ps -aux | grep music
sw2wolf  1251   0.0  3.3  64008  16524  ??  Is    8:50上午  0:00.00 musicpd musicpd.conf

>sockstat | grep music
sw2wolf  musicpd    1251  4  stream /home/sw2wolf/music/.mpd/socket
However, the mpc can never connect to musicpd.
Code:
>mpc listall
error: Connection refused
>mpc ls
error: Connection refused
How to fix such a problem? Thanks!

Adding bind_to_address and port in /usr/local//usr/local/etc/musicpd.conf, it works now!
__________________
e^(π.i) + 1 = 0

Last edited by sw2wolf; May 2nd, 2012 at 01:22. Reason: SOLVED !
Reply With Quote
Reply

Tags
sovled

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Network config don't work on FreeBSD but work on Ubuntu/Debian/OpenBSD; why ? zyzuz Networking 7 March 30th, 2012 19:07
ZiL in ZFS. How does it work? stassik General 10 September 9th, 2011 17:40
[Solved] Can't get KDE to work. gonzo X.Org 14 September 16th, 2009 09:44
[Solved] PF: can't get ftp to work graudeejs Firewalls 47 September 13th, 2009 22:50
I cannot get KDE to work dangertest KDE 8 March 11th, 2009 02:13


All times are GMT +1. The time now is 02:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0