-1

The error i recieve
the structure of my server file (all thos numbers are port numbers whihc is weird)

This is description of my start server.js file

I am trying to make a Node.js application using the Express framework to create a simple web server. Every time I allocate a port number , it runs for one time and then fails as it says that the port number is already used and also I am unable to host it on my web browser . The packages I have installed are nodemon bcrytp cors , Morgan , dotenv , webtoken , mongoose , express , esm and json

Phil
  • 157,677
  • 23
  • 242
  • 245
  • Lines in your `.env` file should **not** be terminated by `;`. The format is literally `KEY=value`, no spaces around the `=`, no quotes, and no terminators other than newline – Phil Aug 11 '23 at 05:15
  • Does this answer your question? [Error: listen EACCES: permission denied 5000; how to solve this nodejs error?](https://stackoverflow.com/q/75228881/283366) – Phil Aug 11 '23 at 05:18

0 Answers0