MAESTRO-3772 only check port if url not specified