Ok i followed this on how to run a SQL Command
and thenthis on how to set FORCE_HTTPS to 0.
Then i after did these steps i ran the command docker-compose down and then up.
Unfortunately the same error persists (Connection Refused).
EDIT: Well after restarting the Ubuntu server running docker-compose ps the containers had an error code so i tried docker-compose restart. The CMS is now Up and Accessible, so i guess it worked. Thanks for your help everyone!