Unable to install marketplace apps because of machine/host name

I have tried to install giphy to the server but for some reason rocketchat cloud thinks my server is localhost:3000

work around continue with the cloud linking and when your browser tries to load the localhost:300 it will fail, copy everything after :3000 and prefix your domain with it. This is how i worked around it.