Godot Server on Heroku

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By djmick

So I made two projects, one is the client and the other is the server, and they communicate with websockets. When I run them in Godot locally, the connect to each other and the game works perfectly, but I cannot get it to work with Heroku. I’ve tried to deploy them via this video: https://www.youtube.com/watch?v=JMVvNd7lsaM&t=293s
This seems to work as it opens the client project and let’s me start playing, but it will not connect to the server. In the logs it says that Godot keeps on exiting, and enters a fatal state, and that it cannot connect due to an upstream connection failure. I do not know how to fix these so I moved onto another method. I followed this video to put my server on heroku: https://www.youtube.com/watch?v=HIww-LXrPu0&t=92s
Again, it seemingly works and the server seems to run with errors, but when I try to connect to it from my client project, it won’t connect. Does anyone have any idea what my issue could be. Or is there a better way to go about this? I have been stuck for over a week trying to get this to work. Thanks