     if firstOption in ["serve", "connect", "create"]
       Help.logo() unless argv.noLogo
 
-
-    @port = if argv.port
-      argv.port
-    else
-      4567
 
     switch firstOption
       when "version"


        util.log "Starting login process"

        loginPort = @port || 13303

        server = @startServer
          port: loginPort
          callback: ()=>
            login = new Login
              server: server
              port: loginPort
            login.authorize()

      when "logout"

        grunt.run()

      when "debug"
        @port = if argv.port
          argv.port
        else
          31173

        options = {}
        options.httpPort = @port

