In Windows 7, you have to configure the Windows Firewall or the Firewall solution to allow communication. On the Intranet, things are simplified a lot, because the IPs are static and they're on a single LAN. It's just a click and connect operation. If you have an online database, you will have to know its public IP, port, username & password. Configure the firewall then try to connect again.