Source: Issue #329
When specifying the --host
flag on cockroach start
, should this be hostname or IP?
Source: Issue #329
When specifying the --host
flag on cockroach start
, should this be hostname or IP?
Response by @bdarnell:
Either way works. The --host
flag is passed verbatim to the other nodes, so if it is a hostname, it must be resolvable from all nodes, and if its an IP, it must be routable from all nodes. (Some changes are in the works here to allow for machines that have multiple network interfaces.)
Docs: cockroach start