esausilva / example-create-react-app-express

Example on using create-react-app with a Node Express Backend
https://esausilva.com/2017/11/14/how-to-use-create-react-app-with-a-node-express-backend-api/
MIT License
374 stars 141 forks source link

React app client port 5000 #3

Closed Hienphamthe closed 5 years ago

Hienphamthe commented 5 years ago

Hi, thank you for this tutorial. However, I dont know why my react client starts at port 5000, which is supposed to be the port for express backend. Could you let me know how to fix this. Thanks.

esausilva commented 5 years ago

That is really strange. Without looking at your code it would be pretty difficult to research. If you are still having this issue, could you upload the code to GitHub? And I could take a look

Hienphamthe commented 5 years ago

I am sorry. That is my false. I follow some other instruction to set port as global. So both client and server start at this port.