You are not logged in.
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
Try to connect with telnet ip-address mpd-port (eg.: telnet 192.168.0.4 2648) and post here the result.
Offline
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
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
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
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
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