If you don’t quit Charles the normal way, it’s gonna left some dirty proxy settings behind. Which leads to abnormal behaviours including being able to receive Skype messages yet not being able to connect to localhost as well as WIFI.
How to solve:
1. Go to WIFI settings, click Advanced
Strange way to start a day but everything back to normal! 😀