Rancher server and client in the same host

It’s allowed but not a recommended practice. If you do so, please see these instructions when adding the host.

http://docs.rancher.com/rancher/rancher-ui/infrastructure/hosts/custom/#samehost