I ran electrum -v and figured out that the problem was my SSL certificate had expired. For some reason, I could not connect in via port 50001. So, unfortunately, anyone who has connected to my server in the past will not be able to connect unless (s)he deletes their wallet and restores from the seed because otherwise the old certificate will fail to verify.