def running?(port = @port)
      begin
        socket = TCPSocket.new(private_ip, port)
        socket.close unless socket.nil?
        true
      rescue Errno::ECONNREFUSED, Errno::EBADF, Errno::EADDRNOTAVAIL
        false
      end
    end
def running?(port = @port)
      begin
        socket = TCPSocket.new(private_ip, port)
        socket.close unless socket.nil?
        true
      rescue Errno::ECONNREFUSED, Errno::EBADF, Errno::EADDRNOTAVAIL
        false
      end
    end
Private: Checks the state if the server by attempting a connection to it

 Returns a boolean with the state