Changing hosts and ports