docs/02_cleos/02_how-to-guides/how-to-connect-to-a-specific-keosd.md
This guide provides instructions on how to connect to specifc wallet when using cleos. Cleos can connect to a specific wallet by using the --wallet-url optional argument, followed by the http address and port number.
The example uses the wallet-url optional arguments to request data from the the specified keosd instance.
[[info | Default address:port]]
| If no optional arguments are used (i.e. no --wallet-url), cleos attempts to connect to a local nodeos or keosd running at localhost or 127.0.0.1 and default port 8900. Use the keosd command line arguments or config.ini file to specify a different address.
Make sure you meet the following requirements:
cleos and keosd.
[[info | Note]]
| The cleos tool and keosd are bundled with the EOSIO software. Installing EOSIO will install the cleos and keosd command line tools.nodeos instance.See the following reference guides for command line usage and related options:
--wallet-url option to specify the keosd instancecleos --wallet-url http://keosd-host:8900 COMMAND
where
--wallet-url http://keosd-host:8900 = The http address and port number of the keosd instance to connect tocleoscommand.In conclusion, by following these instructions you are able to connect to a specified keosd instance.