Subdomain not loading webserver

I recently switched my domain's dns nameserver and settings to cloudflare. It activated around an hour ago. Then my website started working with my regular domain. I added a subdomain record which points to my IP which currently has a docker container running. I tested my public ip with the port and sure enough that works. But when I test the subdomain that points to that IP it doesnt. Any ideas?
Was this page helpful?