There are 2 things that need to work in order to have a "valid" internet connection:

Your side must be connected, and the server side must be connected. Opening up a webpage or a socket connection...