How to stop node.js server

node.js

I run the node server by typing

node server.js

from a putty terminal to get it running. Now i want to stop the server how should i do it? I tried pressing the pause break button on the keyboard. But it is not stopping it.

Best Answer

Try using ctrl+c, usually does the trick.