Re: mpd listening on all IPs, accepting only on one

看板DFBSD_bugs作者時間15年前 (2010/11/19 21:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/6 (看更多)
Matthew Dillon wrote: > :After some brief testing of latest -master, noticed that e.g. mpd (musicpd) > :listens on *:6600 (got that info from sockstat(1)), but I could connect to > :that port on only one IP. localhost (::1 or 127.0.0.1) did not work, but one > :of the "outside" IPs did. Since I tried ::1, 127.0.0.1, 192.168.0.X and only > :worked on the last configured IP 10.0.0.X, I guess it only received > :connections on one IP instead of all. > :-- > :Please do not CC me, since I already receive everything from these MLs. > : > :Regards, > :Rumko > > Is mpd using UDP? I think I may have been able to reproduce an issue > with UDP but I'm not sure yet. > > -Matt > Matthew Dillon > <dillon@backplane.com> No, it's using TCP. Output of sockstat when it's working: Rumko ncmpc 1275 3 tcp4 127.0.0.1:1068 127.0.0.1:6600 Rumko mpd 900 3 tcp4 127.0.0.1:6600 127.0.0.1:1068 Rumko mpd 900 4 tcp4 *:6600 *:* -- Please do not CC me, since I already receive everything from these MLs. Regards, Rumko
文章代碼(AID): #1Cvdob7o (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #1Cvdob7o (DFBSD_bugs)