c server on heroku

i have develop a c client server program as a classwork project. the lecturer requires the server program to be on a remote host. i have tried to have it on heroku but the ip address is not static so i can’t bind the client to the server .

Static addresses on heroku

Performing a DNS lookup in C