Then why it says "Could not communicate with the server"?
It looks like you've configured your WiFi set up wrong. Your router is somehow giving you IP addresses that are wrong that are not normal for home use.
I'd suggest you look into your routers settings and cabling such as your LAN IPs and gateway and follow a guide of some sort to sort it out.
Routers itself should always be set in this fashion (192.168.1.x) as IP (the x being a number of your choosing to 255) and (255.255.0.0) or (255.255.255.0) as subnet. If you have a separate router for WiFi you should always set it within (192.168.1.x) - the x being a number different to your main router, and set WiFi unit to bridge mode. That way your main router and wireless router can 'talk'. And ideally you should set your routers local LAN settings to DHCP to distribute IPs to the devices in your network, which all should start with IP (192.168.1.x), subnet mask (255.255.0.0) or (255.255.255.0) and gateway matching your main router's IP ie. (192.168.1.x).