Could not establish connection to the Collabora Online server for nextcloud 20.07

Hello, I cannot get my nextcloud to connect to the Collabora. I followed step by step and when I was setting everything up, it tells me “Could not establish connection to the collabora online server” Any help would be much appreciated. Thank you.