-1

When I run process

npm run start

After that I'd like to monitor which port is used.

Is there any command to monitor this?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Heisenberg
  • 4,787
  • 9
  • 47
  • 76
  • 1
    What is `npm run start` actually executing? Often you see output on which port is being used, or it's configurable by setting the `PORT` env var. – jonrsharpe Sep 16 '20 at 11:22
  • 1
    Does this answer your question? [How to find out which Node.js pid is running on which port](https://stackoverflow.com/questions/13129464/how-to-find-out-which-node-js-pid-is-running-on-which-port) – Aakif Sep 16 '20 at 11:26

1 Answers1

1

You can run below command and check for all the ports running node

netstat -nptl |grep node