Use host from config again. fix #1278