public PersonRemote() {
		try {
			socket = new ServerSocket(7777);
			communicationSocket = socket.accept();
			
			out = new PrintWriter(communicationSocket.getOutputStream(), true);
			thread = new Thread(this);
			thread.start();
			
		} catch (Exception e) {
			System.out.println("Ha ocurrido un error: "+e.getMessage());
		}
	}