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)
What is etlservicemgr
? Can I kill it?
ps -ef | grep 3369
say? Why are you trying to use a port that is already in use? Are you the owner of the server?ps -ef | grep 3369
leads back to my own app... whoops. Looks like it didn't exit cleanly and the process hung around. I killed it and restarted my app, which is working as expected.