2nd rasa assistant not responding

I have deployed 2 assistants on the digital ocean ubuntu droplet one on the port 5002 and another on 5000. but only one assistant responds which I start earlier. the later assistant does not show any error but doesn’t reply at all. Both the assistants work perfect in rasa shell but after deployment with WebUI only 1 assistant responds I have integrated the assistant with web UI’s

I’m using this to run the assistant rasa run -m models --enable-api --cors “*” --debug

and I have made the local host changes in the other assistant from 5000 to 5005

Is there any changes required in the credentials.yml

rasa: url: “http://localhost:5002/api