V
V
Vladimir2020-02-19 13:36:32
Node.js
Vladimir, 2020-02-19 13:36:32

How to change port (create-react-app)?

Good afternoon. Please tell me how to change the port in react, if I run via the console (which in my case is not correct when installing on hosting), the port is random, but I have it fixed, googled it, tried commands like static-server POST=8080, etc. .d., gives command not found, here ..

Hosting allows you to run from package.json, but I need to fix the port, maybe there is a config file for a similar situation? Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question