Article 54ZQ2 mpd listening on any ipv6

mpd listening on any ipv6

by
mtdew3q
from LinuxQuestions.org on (#54ZQ2)
Hi-

my postgres listens on 127.0.0.1:5432 but mpd is like this in netstat:

tcp6 :::6600 :::* LISTEN -

lsof -i TCP:6600
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cantata 16346 myusername 19u IPv4 1053330 0t0 TCP localhost:44386->localhost:6600 (ESTABLISHED)

The lsof command shows what I want it to do correctly.

I read that the OS will drop packets on a port if nothing is listening in netstat.

How come that port 6600 is showing open in TCP6?
Not shown: 65535 closed ports
PORT STATE SERVICE VERSION
6600/tcp open mpd Music Player Daemon 0.20.0

Is anyone out there using mpd, and were you able to get that port closed in nmap? I did an nmap scan on my private IP address.

Edit: systemctl stop mpd
Warning: Stopping mpd.service, but it can still be activated by:
mpd.socket

I figured something else out. It is auto restarting.

I tried systemctl stop mpd.
Then I tried systemctl disable mpd.

Jun 24 16:40:33 mylaptop systemd[1]: Started Music Player Daemon.
Jun 24 16:40:33 mylaptop libsmbclient[21618]: client: [0] opened from myip

It just restarts after a minute or two. When I do :
systemctl status mpd it lists it as active after i stopped and disabled it.

Short of uninstalling it, I don't know how to keep it from reactivating itself and showing up in the list of open ports on nmap -p 6600 myip scan.

Have a cool day.

thanks,
robolokilatest?d=yIl2AUoC8zA latest?i=AyrV90ephW4:-8SdyjiPj0U:F7zBnMy latest?i=AyrV90ephW4:-8SdyjiPj0U:V_sGLiP latest?d=qj6IDK7rITs latest?i=AyrV90ephW4:-8SdyjiPj0U:gIN9vFwAyrV90ephW4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments