Ok, then your WiFi is connected to nearest active part which is router, that is what system says.
IE is trying to connect further, to the public internet which does not work.
Compare network setting for WiFi and LAN adpater, it seems to me as DNS is not set properly for WiFi.