MineCraft Technic Pack/FtB Java issue?

So, when I got FtB and the Technic Pack they worked fine. At the time I had 32-bit Java installed. However, I wanted to use all of my RAM, and not just 1.5GB of it. So, with help I installed 64-bit Java, but ever since I have been unable to download or play any mod packs from the Technic Pack and FtB launchers, and the icons on the Technic Launcher says "Offline". In the launcher consoles they both say the same thing:

"Network is unreachable: connect: java.net.SocketException: Network is unreachable: connect"

How do I fix this issue, if it's even possible? I have tried re-downloading both launchers multiple times, and have looked through the advanced settings on Java to see if there was anything about connection blocking, but to no avail. How do I fix this? Any help would be greatly appreciated.

Is your computer 32-bit? If it is your computer doesn't like to use 64-bit. But 64-bit can use 32-bit programs! Its a bit strange, I know but still…