Can you try to change your DNS to Google DNS?
If you don't know how to setup follow this on how to change the PCs DNS.
- First, go to Control panel
- Click the Network and Internet
- Click the Network and Sharing Center
- Change adapter settings
- Look for ethernet or wifi then right-click
- Click the properties
- Click the internet protocol version 4(TCP/IPv4)
- Then click properties
- Now click the Use the following DNS server addresses
- Then put this DNS below.
preferred DNS 8.8.8.8
Alternative DNS 8.8.4.4
- After that open Electrum
- Change the network server to "electrumx.ddns.net" Port "50005" or try other servers that listed on the server peers.
- Then test it again.
If it still doesn't work try to open Electrum with python if you haven't installed it yet you can check
https://electrum.org/#download and install the PyQt5
After that run the Electrum with python using the command "python3 run_electrum" from CMD.
Let's see if it will work but if not well, I think you will need to follow khaled0111 suggestion and make a raw transaction instead as a temporary solution.