Updated to allow the user to input an IP address and port number. When
the user presses the button, it will actually check that IP and port.