Categories
JavaScript Answers

How to use to npm start run a server on port 8000 with JavaScript?

Spread the love

To use to npm start run a server on port 8000 with JavaScript, we use the --port option.

For instance, we run

npm start --port 8000

to run the start script on port 8000.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *