Populating connector with host and port