need help about flask API
# support-questions-legacy
r
need help about flask API
r
hey @ressiject
What connection URI have you passed to the supertokens init function? And are you running core + flask server in separate docker containers?
r
try changin port to my backend service still error
more detial
detail
r
What happens if you visit localhost:3567/hello on your browser?
r
return Hello
r
so the core is running fine
Are you running the flask server in a docker container?
r
yes
r
i see. So you cant use localhost for that, cause that points to inside the docker container.
r
oh
i already use same network
r
You want to provide the service name of the core then
if you use docker-compose for example
r
here is my compose
what is need is api domain to api, website to frontend then ?
r
You should change the connectionURI from http://localhost:3567 to http://supertokens:3567
r
thx you
i will try rightawa
y
still the same
r
Are you sure you restarted all the docker container properly? This should have wokred
r
Ok bro
should i change all the backend, frontend to relative service path ?
ty i will update after i edit all project path
ty
r
yea. These are more docker networking related issues. So i suggest you can read up on that a bit 🙂
r
thank you
thank you so much
:))