This message was deleted.
# ask-questions
w
This message was deleted.
f
Hi Venkatesh, happy to help
I have a feeling 0.0.0.0 isn’t routable
k
ooh
should i change app_origin also to private ip
f
are you running it on localhost?
yes, most likely
are you running it on the same IP? the 172 one?
k
yes
f
yes, try changing that env variable and see
k
let me change and get back
f
👍
k
after changing the route of app_origin and api_host to private ip of my mechine
still getting Error connecting to the GrowthBook API
f
can you access the API url directly? if its working, you should see a json object returned
k
yes api i can able to access directly with 3100 port
can able to see json output
is there anything with port ipv4 and ipv6
f
can you paste the output?
k
in container i can see 3000 is running with ipv4 and 3100 is running with ipv6
f
what we want to make sure is that APP can route traffic to the API
can you check the console and make sure you’re not getting a CORS error?
k
let me check
f
Any errors in the container?
k
i don't see any error logs in container
yarn run v1.22.19 $ wsrun -p '*-end' -m start back-end | $ node dist/server.js front-end | $ next start | ready - started server on 0.0.0.0:3000, url: http://localhost:3000 back-end | {"level":30,"time":1674129444557,"pid":58,"hostname":"9c263118c40e","msg":"Back-end is running at http://localhost:3100 in production mode. Press CTRL-C to stop"}
f
you might try setting the API_HOST to http://localhost:3100
k
only api_host?
f
you can do both, but you may get a CORS error - but we can fix that
k
ok
console output
f
Did you set both to localhost?
lets try that
k
both i have set to localhost
f
got a moment to meet and share your screen?
k
yes
happy to share
can i share the google meet link?
f
ok
k
f
says waiting to join
k
let me check
f
Same issue for me
Did we resolve this?
f
yes
just had to use the right IP address
142 Views