You are not logged in.

#1 2008-03-22 18:04:56

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Can't get other computers to connect to my mpd server?

Ok so I've hosted a mpd server and I can connect through localhost but the other computers in the network can't connect.

Why is that?

The other computers and the server can all ping each other and I've even tried opening ports in the router as a desperate last resort...
This could be a common problem with another thing I'm having, I can't host wc3 games either though linux but with windows it's just fine :S

Offline

#2 2008-03-22 18:07:45

alexmgarcia
Member
From: Azores, Portugal
Registered: 2007-05-14
Posts: 51

Re: Can't get other computers to connect to my mpd server?

Try to connect with telnet ip-address mpd-port (eg.: telnet 192.168.0.4 2648) and post here the result.

Offline

#3 2008-03-23 13:19:45

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Can't get other computers to connect to my mpd server?

alexmgarcia wrote:

Try to connect with telnet ip-address mpd-port (eg.: telnet 192.168.0.4 2648) and post here the result.

Okey, here comes the output:

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.



C:\Documents and Settings\kevin>telnet 192.168.0.173 56700

Connecting To 192.168.0.173...Could not open connection to the host, on port 567

00: Connect failed

EDIT: I'm starting to get really annoyed by this, I've even tried:

# /etc/hosts.deny
#

#ALL: ALL: DENY

# End of file

in combination with:

# /etc/hosts.allow
#

ALL: ALL: ALLOW
# End of file

and still no luck.... what am I supposed to do?
(I have no firewall yet...)

Last edited by Izuil (2008-03-23 14:49:22)

Offline

#4 2008-03-23 15:01:00

Jack B
Member
Registered: 2006-06-27
Posts: 107
Website

Re: Can't get other computers to connect to my mpd server?

Check your mpd.conf. The default has

[...]
bind_to_address                 "127.0.0.1"
port                            "6600"
[...]

I believe this causes MPD to bind to (and only to) localhost:6600, which is the machine it's running on. Try commenting out the bind_to_address line, then restarting mpd.

(disclaimer; this has been dredged out from the back of my memory, and may be wrong.)

HTH
Jack

Offline

#5 2008-03-23 16:45:12

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Can't get other computers to connect to my mpd server?

Jack B wrote:

Check your mpd.conf. The default has

[...]
bind_to_address                 "127.0.0.1"
port                            "6600"
[...]

I believe this causes MPD to bind to (and only to) localhost:6600, which is the machine it's running on. Try commenting out the bind_to_address line, then restarting mpd.

(disclaimer; this has been dredged out from the back of my memory, and may be wrong.)

HTH
Jack

You might haven been right but isn't my only problem if that's the case because the other computers can't still connect...

I set it to "any"  anyway and hope it helps if I find the other problem...

Offline

#6 2008-03-23 16:51:00

Jack B
Member
Registered: 2006-06-27
Posts: 107
Website

Re: Can't get other computers to connect to my mpd server?

Hi Izuli
I've had another thought. Is MPD listening on the port you are trying to connect to? By default it listens on 6600 (see my previous post) but you seem to be trying to connect to 56700 from your windows machine.
Jack

Offline

#7 2008-03-23 16:55:24

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Can't get other computers to connect to my mpd server?

Jack B wrote:

Hi Izuli
I've had another thought. Is MPD listening on the port you are trying to connect to? By default it listens on 6600 (see my previous post) but you seem to be trying to connect to 56700 from your windows machine.
Jack

Yes it's listening on that port, I changed that earlier.

I tried changing the hosts stuff in combination with that thing you said earlier and that didn't help either...

Offline

Board footer

Powered by FluxBB