I am trying to serve locally to port 9001 but I get an
listen EADDRINUSE error. When I look at the port with
lsof -i :9001 it shows the following
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME node 3369 Name 12u IPv4 0x617528c251f49bb 0t0 TCP *:etlservicemgr (LISTEN) node 7803 Name 11u IPv6 0x617528c1ecc1133 0t0 TCP *:etlservicemgr (LISTEN)
etlservicemgr? Can I kill it?
etlservicemgr is not the name of the process listening on port 9001. It’s the name of the IANA-registered service for that port number.
$ grep 9001 /etc/services etlservicemgr 9001/tcp # ETL Service Manager etlservicemgr 9001/udp # ETL Service Manager
The name of the process appears in the first column,
We can see from your output that two processes called
node are listening on this port (one on IPv4, and one on IPv6). And
node is most likely a Node.js application.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.