If you have the Grapevine homework, the reason why you can't run two instances I think is that you try to use the same port number in each code ("8989" by default). If you change this in your code to listen on different port at every run (eg. get the port number from parameter), you will be able to run as many instances as you like.