Background
I am hosting a react application website on my rasperrypi
, and so far I have been able to access the application website when I used create-react-app
: I could access the application both from the computer in the network, as well as the raspberry pi. On the raspberrypi
, i used the localhost:3000 to access the website and from the computer i would access it from the 192.x.x.x:3000 and it would work fine.
However since I realized that I can't run some raspberry native modules when using create-react-app
, I decided to install and setup react
manually, together with babel
and webpack
(in the hope that it would work).
The problem
Using the manual setup, I am able to see the web application while I am accessing it from the localhost on raspberrypi, but I can't access it on my computer (which is in the same LAN as the raspberry); I tried to switch the port to 3000 but the result was the same, can't access it from the computer... Anyone know anything that could help?
Thank you for the attention!