From 5a7e6a234508fdb943e2f540d9ec2b768b285f70 Mon Sep 17 00:00:00 2001 From: "Shady M. Najib" Date: Fri, 5 Apr 2019 17:22:19 +0200 Subject: [PATCH] Adding a line for changing port number --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3ab0ffd..ec24d18 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Getting the server running on your local machine takes only a few steps: 2. `cd reactnd-contacts-server2` 3. install its dependencies - `npm install` 4. start the server - `node server.js` + - If you are getting the error "listen EACCES: permission denied 0.0.0.0:5001", or want to change the port for any reason, use `PORT=9999 node server.js` and replace 9999 with your prefered port. ## Contributing