Symptom: Native debugging is not started for a long time, and the error message "Attach request timeout after 600000 milliseconds " is displayed after DevEco Studio times out, or the error message "Failed to connect port" is displayed after native debugging is started.


Possible Causes
The /etc/hosts file in Linux or macOS is modified.
Solution
127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost