You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I solved this by modifing config/main.js:5 to read host: process.env.HOST || '0.0.0.0' (instead of host: process.env.HOST || 'localhost') so that the internal webserver listens on any host.
When you try to acces it on the host as http://localhost:8889/ the container sees that as a request comming from whatever the IP of the host is as seen from the container. For me it's 172.17.0.1 but I'm pretty sure that could change depending on your docker network setup, so I just went with 0.0.0.0.
Not sure if this is the proper solution, but it worked for me.
When running the dockerfile I am not able to access the react app running inside the container.
Anybody had the same issue?
This is simply a question.
The text was updated successfully, but these errors were encountered: