So I realised that the issue was because I am proxying the particular server via Cloudflare and they are blocking port 20000.
I temporarily fixed this issue by accessing port 20000 via a subdomain that is not proxied via Cloudflare until they support port 20000.