public void connectServer(String ip) {
		try {
			// "25.51.10.123" (from java); "173.24.164.36" (from whatsmyip - doesn't work); "127.0.0.1" (for local testing);
			InetAddress address = InetAddress.getByName(ip);
			sock = new Socket(address, 5000);
			writer = new PrintWriter(sock.getOutputStream());
			InputStreamReader streamReader = new InputStreamReader(sock.getInputStream());
			reader = new BufferedReader(streamReader);
			Thread readerThread = new Thread(new IncomingReader()); 
			readerThread.start(); //start listener thread
			toDisplay("System", "Connection established!");
			isConnected = true;
			serverStatus.setIcon(onImage);
		} catch(IOException ex) {
			toDisplay("System", "Couldn't connect!");
			//ex.printStackTrace();
		}
	}