The "Unable to connect to world" issue might occur if Minecraft is not permitted via the Firewall. You can access the internet, but you can't connect to each other's worlds. Check your Firewall settings to make sure the Minecraft executable file "javaw.exe" is permitted.