karthik Ganti
Jan 27, 2024

--

Update your package.json

"start": "HOST=0.0.0.0 react-scripts start"

then do npm start from terminal. This will expose the service and you will be able to access it from another system.

Generally you can access it using internal ip and you do not have to update the package.json with 0.0.0.0.

--

--

karthik Ganti
karthik Ganti

Written by karthik Ganti

Hi, I am karthik. Full Stack Developer | Web3 Expert | Micorservices Developer | Exploring Gen AI | ReactJS Developer. https://github.com/hacktronaut

Responses (1)