cbpro-trader
cbpro-trader copied to clipboard
Forwarding problem when using docker
Hi there,
on branch dev, after starting docker, i have this problem
web_1 | Proxy error: Could not proxy request /periods/ from 172.19.0.2:3000 to http://cbpro:5000.
ubuntu 20.04
Is it just a variable?
Sorry for bothering, but this would be helpful, I am a bit stuck here
I too am having this issue on ubuntu. I will look into it and see if I can find a solution.
After starting docker you should see a few line of code that look like this:
web_1 | You can now view web in the browser.
web_1 |
web_1 | Local: http://localhost:3000/
web_1 | On Your Network: http://172.19.0.3:3000/
In the web/package.json file you should find a proxy field
replace the:
http://cbpro:5000
with the Network address
http://172.19.0.3:3000