use host/port properly