Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
docker is running an internal network, but on droplet gets CORS errors
I am using a droplet as a dev environment for a dockerized application (node, nginx, postgresql, graphql, react). Our docker app sets up an internal network so that different components can communicate with each other. The docker container builds and runs great, but internal calls from the frontend to the backend are getting blocked in the droplet based on CORS errors.
We can run this thing literally everywhere else with no CORS errors - are there droplet-specific settings I need to create?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×