Before you start developing with MobileFirst Platform CLI, you must define the MobileFirst Server that you use for developing and testing.
The following procedure applies only when you use MobileFirst Development Server that is installed on another computer, or a MobileFirst Server other than MobileFirst Development Server with its default configuration. If you use MobileFirst Development Server locally on your computer, with its default configuration then this procedure does not apply to you.
If the MobileFirst Platform CLI target server is not configured, it connects to http://localhost:9080/mfpadmin with admin and admin as login credentials.
To add a default MobileFirst Development Server that runs on the computer testserver.mydomain, run the command mfpdev server add myserver -url http://testerver.mydomain:9080 -login admin -password admin -contextroot mfpadmin -s.