Question: why sony xperia cannot connect to wifi?
Answer: Restart your phone then set up your Wi-Fi network then reconnect. Disabling the smart network switch feature on your Sony Xperia XZ3 can also help prevent your device from getting an unstable wireless connection. To do this, enable Mobile Data on your phone then go to Menu-> Settings-> Wireless-> Smart network switch.