Action server in docker-compose cannot communicate with rasa server properly

Thanks for the response but I already tried that then whenever my assistant needs to run custom action, the error "Failed to run … Couldn’t connect to server " is prompted.