Add mapping between hostname and port