I am trying to create a network of nodes on my computer that can act like a client and a server. Each node should be running its own instance of server code and client code and should be able to give requests to its own instance of the server. How can I start a server of my own in Node and how can I have them all run on different ports?
Thanks