django application have both backend code n frontend. this deployed on droplet. backend api working. but connection refuse error when accessing api from fronend code. I have