Or server should be configured to use TOR.
I don't know what's wrong with BlueWallet, but I know there's some bug with Tor. Don't know if you've tried it, but I have tried connecting to my Electrum server multiple times, with various implementations, some of which were tested in different versions, and it still couldn't load up. It either does nothing or returns a connection error.