-
-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how change port #3513
Comments
Quick search: #1083 |
@Yonben Right, thanks |
In your console run |
change port in console before running then run the command On my pc:E:\ReactJs\reactapp2>SET PORT=3100 E:\ReactJs\reactapp2>npm start
Compiled successfully! |
i searching and reading number of comments..! this is so simple and successful |
I documented the various options one can choose in order to change the default port. You can set the environment variable as shown in the comment above, change the start command, or create .env file. Here is the full article. |
Windows users change the script like this: and Linux and Mac users like this: |
how can i change port 3000 to 3001
The text was updated successfully, but these errors were encountered: